test-machinepack
Advanced tools
Comparing version 0.2.3 to 0.2.4
{ | ||
"name": "test-machinepack", | ||
"author": "Mike McNeil <@mikermcneil>", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Raw test runner for machinepacks (also includes a simple stub test driver)", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -36,4 +36,2 @@ /** | ||
// | ||
// ACTUALLY: also parse JSON for ALL input values (b/c of testscribe) | ||
// | ||
// TODO: replace this with shared logic from relevant code in the `machinepack` CLI | ||
@@ -48,4 +46,4 @@ // and in machinepack-machines. | ||
// ACTUALLY: also parse JSON for ALL input values for now (b/c of testscribe) | ||
// if (inputDef.typeclass === 'dictionary' || inputDef.typeclass === 'array' || _.isArray(inputDef.example) || _.isPlainObject(inputDef.example)) { | ||
// POTENTIALLY: also try to parse JSON for ALL input values for now (b/c of testscribe) | ||
if (inputDef.typeclass === 'dictionary' || inputDef.typeclass === 'array' || _.isArray(inputDef.example) || _.isPlainObject(inputDef.example)) { | ||
try { | ||
@@ -57,3 +55,3 @@ configuredValue = JSON.parse(configuredValue); | ||
} | ||
// } | ||
} | ||
@@ -60,0 +58,0 @@ memo[inputName] = configuredValue; |
17070
305