Skip to content

Commit

Permalink
Changed to ok flags, see phetsims/aqua#52
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Oct 10, 2018
1 parent de44e65 commit 2c9620b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion js/local/runUnitTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,14 @@ module.exports = function( browser, targetURL ) {
console.log( stats.join( ', ' ) );

await page.close();
resolve( stats );
resolve( {
ok: context.passed === context.total,
time: context.runtime,
totalTests: context.total,
passed: context.passed,
failed: context.failed,
errors: moduleErrors
} );
} );

await page.goto( targetURL );
Expand Down

0 comments on commit 2c9620b

Please sign in to comment.