Skip to content

Commit

Permalink
Test: Prevent global.QUnit leakage between node and browser tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue authored and trentmwillis committed May 7, 2018
1 parent 03025fc commit 4ca5767
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/tasks/test-on-node.js
Expand Up @@ -36,6 +36,9 @@ module.exports = function( grunt ) {
grunt.log.writeln( "-----" );
grunt.log.ok( constructMessage( totals ) );

// Refresh the QUnit global to be used in other tests
global.QUnit = requireFresh( "../../dist/qunit" );

done( !error );
} );
} );
Expand Down

0 comments on commit 4ca5767

Please sign in to comment.