|
@@ -9,8 +9,9 @@ const AssessmentConfig = {
|
|
};
|
|
};
|
|
|
|
|
|
export class Assessment {
|
|
export class Assessment {
|
|
- constructor (ast_code, testCases, domConsole) {
|
|
|
|
|
|
+ constructor (ast_code, exerciseType, testCases, domConsole) {
|
|
this.ast_code = ast_code;
|
|
this.ast_code = ast_code;
|
|
|
|
+ this.exerciseType = exerciseType;
|
|
this.testCases = testCases;
|
|
this.testCases = testCases;
|
|
this.domConsole = domConsole;
|
|
this.domConsole = domConsole;
|
|
this.old_config = JSON.parse(JSON.stringify(Config));
|
|
this.old_config = JSON.parse(JSON.stringify(Config));
|