lib/qunited/driver/phantomjs/support/runner.js in qunited-0.1.0 vs lib/qunited/driver/phantomjs/support/runner.js in qunited-0.2.0
- old
+ new
@@ -93,10 +93,10 @@
return false;
});
}, function(){
// Results should have been collected with code in qunited.js. Check that file
// for more details. Grab the YAML it outputs and write it to the results file.
- var results = page.evaluate(function() { return QUnited.collectedTestResultsAsYaml(); });
+ var results = page.evaluate(function() { return QUnited.collectedTestResultsAsJson(); });
fs.write(results_output_file, results, 'a');
phantom.exit(0);
});
}
});