diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/internalRewire.test.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/internalRewire.test.js b/test/internalRewire.test.js index 23d0193..3b3a303 100644 --- a/test/internalRewire.test.js +++ b/test/internalRewire.test.js @@ -1,11 +1,11 @@ -// Don't run code in ES5 strict mode.
-// In case this module was in strict mode, all other modules called by this would also be strict.
-// But when testing if the strict mode is preserved, we must ensure that this module is NOT strict.
-
-describe("internalRewire (node.js)", function () {
- before(require("./testHelpers/createFakePackageJSON.js"));
- after(require("./testHelpers/removeFakePackageJSON.js"));
- it("should pass all shared test cases", function () {
- require("./testModules/sharedTestCases.js");
- });
+// Don't run code in ES5 strict mode. +// In case this module was in strict mode, all other modules called by this would also be strict. +// But when testing if the strict mode is preserved, we must ensure that this module is NOT strict. + +describe("internalRewire", function () { + before(require("./testHelpers/createFakePackageJSON.js")); + after(require("./testHelpers/removeFakePackageJSON.js")); + it("should pass all shared test cases", function () { + require("./testModules/sharedTestCases.js"); + }); });
\ No newline at end of file |