Browse Source

Merge branch 'fix-eval-grade' of LInE/ivprog into master

Lucas de Souza 5 years ago
parent
commit
afd9f14da3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      js/assessment/ivprogAssessment.js

+ 1 - 0
js/assessment/ivprogAssessment.js

@@ -44,6 +44,7 @@ export class IVProgAssessment {
         grade /= results.length;
         const channel = grade == 1 ? DOMConsole.INFO : DOMConsole.ERR;
         outerRef.writeToConsole(channel, StringTypes.MESSAGE, "test_suite_grade", (grade * 100).toFixed(2));
+        return grade;
       });
       // return testResult.then(function (total) {
       //   const grade = total / outerRef.testCases.length;