diff --git a/Gruntfile.js b/Gruntfile.js index 4877c47a6..f1fbe1dd1 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -102,7 +102,6 @@ module.exports = function( grunt ) { "test/string-filter.html", "test/module-skip.html", "test/module-todo.html", - "test/each.html", "test/only-each.html", // ensure this is last - it has the potential to drool @@ -112,15 +111,19 @@ module.exports = function( grunt ) { } } }, + + // Sync with test/index.html and test/mozjs.js "test-on-node": { files: [ "test/logs.js", "test/main/test.js", + "test/main/each.js", "test/main/assert.js", "test/main/assert/step.js", "test/main/assert/timeout.js", "test/main/async.js", "test/main/promise.js", + "test/main/dump.js", "test/main/modules.js", "test/main/deepEqual.js", "test/main/stack.js", @@ -130,7 +133,6 @@ module.exports = function( grunt ) { "test/onerror/inside-test.js", "test/onerror/outside-test.js", "test/setTimeout.js", - "test/main/dump.js", "test/node/storage-1.js", "test/node/storage-2.js", diff --git a/test/index.html b/test/index.html index 7b4072192..3bc0aaf61 100644 --- a/test/index.html +++ b/test/index.html @@ -5,7 +5,9 @@ QUnit Main Test Suite + + diff --git a/test/mozjs.js b/test/mozjs.js index 71d54fa76..e97ec47e3 100644 --- a/test/mozjs.js +++ b/test/mozjs.js @@ -36,7 +36,9 @@ QUnit.on( "runEnd", ( suiteEnd ) => { } } ); +// Sync with Gruntfile.js#test-on-node and test/index.html loadRelativeToScript( "../test/main/test.js" ); +loadRelativeToScript( "../test/main/each.js" ); loadRelativeToScript( "../test/main/assert.js" ); loadRelativeToScript( "../test/main/assert/step.js" ); // Requires setTimeout, loadRelativeToScript( "../test/main/assert/timeout.js" );