@@ -104,7 +104,8 @@ export const buildFunctions = {
104104 [ challengeTypes . python ] : buildPythonChallenge ,
105105 [ challengeTypes . multifilePythonCertProject ] : buildPythonChallenge ,
106106 [ challengeTypes . lab ] : buildDOMChallenge ,
107- [ challengeTypes . jsLab ] : buildJSChallenge
107+ [ challengeTypes . jsLab ] : buildJSChallenge ,
108+ [ challengeTypes . pyLab ] : buildPythonChallenge
108109} ;
109110
110111export function canBuildChallenge ( challengeData : BuildChallengeData ) : boolean {
@@ -132,7 +133,8 @@ const testRunners = {
132133 [ challengeTypes . python ] : getPyTestRunner ,
133134 [ challengeTypes . multifileCertProject ] : getDOMTestRunner ,
134135 [ challengeTypes . multifilePythonCertProject ] : getPyTestRunner ,
135- [ challengeTypes . lab ] : getDOMTestRunner
136+ [ challengeTypes . lab ] : getDOMTestRunner ,
137+ [ challengeTypes . pyLab ] : getPyTestRunner
136138} ;
137139
138140export function getTestRunner (
@@ -400,7 +402,8 @@ export function challengeHasPreview({
400402 challengeType === challengeTypes . multifileCertProject ||
401403 challengeType === challengeTypes . multifilePythonCertProject ||
402404 challengeType === challengeTypes . python ||
403- challengeType === challengeTypes . lab
405+ challengeType === challengeTypes . lab ||
406+ challengeType === challengeTypes . pyLab
404407 ) ;
405408}
406409
0 commit comments