Bug fixes and sorting issue with loadFromFlattenedJson
Also added several new test cases, most significantly some cases that test the commit functionality
This commit is contained in:
@@ -62,7 +62,7 @@ const scorm2004 = {
|
||||
CMISStatus: '^(passed|failed|unknown)$',
|
||||
CMIExit: '^(time-out|suspend|logout|normal)$',
|
||||
CMIType: '^(true-false|choice|fill-in|long-fill-in|matching|performance|sequencing|likert|numeric|other)$',
|
||||
CMIResult: '^(correct|wrong|unanticipated|neutral|-?([0-9]{1,4})(\\.[0-9]{1,18})?)$',
|
||||
CMIResult: '^(correct|incorrect|unanticipated|neutral|-?([0-9]{1,4})(\\.[0-9]{1,18})?)$',
|
||||
NAVEvent: '^(previous|continue|exit|exitAll|abandon|abandonAll|suspendAll|\{target=\\S{0,200}[a-zA-Z0-9]\}choice|jump)$', // eslint-disable-line
|
||||
NAVBoolean: '^(unknown|true|false$)',
|
||||
NAVTarget: '^(previous|continue|choice.{target=\\S{0,200}[a-zA-Z0-9]})$',
|
||||
|
||||
Reference in New Issue
Block a user