diff --git a/build/tasks/test-on-node.js b/build/tasks/test-on-node.js index e51cea4c5..4db1f2f88 100644 --- a/build/tasks/test-on-node.js +++ b/build/tasks/test-on-node.js @@ -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 ); } ); } );