Bladeren bron

Added the necessary fields for the Assistant

victor_passos 2 jaren geleden
bovenliggende
commit
263c9bfb8b
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      js/assessment/assessment.js

+ 2 - 1
js/assessment/assessment.js

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