test-machinepack
Advanced tools
Comparing version 2.1.6 to 2.1.7
{ | ||
"name": "test-machinepack", | ||
"author": "Mike McNeil <@mikermcneil>", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"description": "Raw test runner for machinepacks (also includes a simple stub test driver)", | ||
@@ -18,8 +18,8 @@ "keywords": [ | ||
"dependencies": { | ||
"async": "^0.9.0", | ||
"json5": "^0.4.0", | ||
"lodash": "^3.9.1", | ||
"machine": "^11.0.0", | ||
"machinepack-machines": "^6.0.0", | ||
"rttc": "^8.1.3" | ||
"async": "0.9.2", | ||
"json5": "0.4.0", | ||
"lodash": "3.9.1", | ||
"machine": "~11.0.3", | ||
"machinepack-machines": "6.3.0", | ||
"rttc": "~9.3.4" | ||
}, | ||
@@ -26,0 +26,0 @@ "repository": { |
@@ -184,6 +184,8 @@ /** | ||
// Now compare actual vs. expected output | ||
// console.log('checking using type schema:',typeSchema); | ||
try { | ||
testResultObj.wrongOutput = ! rttc.isEqual(outputAssertion, whatActuallyHappened.output); | ||
testResultObj.wrongOutput = ! rttc.isEqual(outputAssertion, whatActuallyHappened.output, typeSchema); | ||
} | ||
catch (e){ | ||
// console.log('* * * *',e.stack); | ||
errMsg += util.format('Could not compare result with expected value, because rttc.isEqual threw an Error:'+e.stack); | ||
@@ -190,0 +192,0 @@ var _testFailedErr = new Error(errMsg); |
@@ -228,3 +228,3 @@ // TODO: pull this into mp-machines | ||
try { | ||
failureReport.wrongOutput = !rttc.isEqual(outputAssertion, whatActuallyHappened.output); | ||
failureReport.wrongOutput = !rttc.isEqual(outputAssertion, whatActuallyHappened.output, typeSchema); | ||
} | ||
@@ -231,0 +231,0 @@ catch (e){ |
35143
703
+ Addedlodash@3.8.03.9.1(transitive)
+ Addedrttc@9.3.4(transitive)
- Removedlodash@3.10.1(transitive)
Updatedasync@0.9.2
Updatedjson5@0.4.0
Updatedlodash@3.9.1
Updatedmachine@~11.0.3
Updatedmachinepack-machines@6.3.0
Updatedrttc@~9.3.4