Fixes and additional test cases

This commit is contained in:
Jonathan Putney
2019-11-15 21:54:49 -05:00
parent 4dda8820ee
commit d548330436
7 changed files with 95 additions and 34 deletions

View File

@@ -220,7 +220,7 @@ export default class Scorm12API extends BaseAPI {
const cmiExport = this.renderCMIToJSONObject();
if (terminateCommit) {
cmiExport.cmi.core.total_time = this.getCurrentTotalTime();
cmiExport.cmi.core.total_time = this.cmi.getCurrentTotalTime();
}
const result = [];