diff options
Diffstat (limited to 'test/rewire.test.js')
-rw-r--r-- | test/rewire.test.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/rewire.test.js b/test/rewire.test.js index 1ac0129..57e37be 100644 --- a/test/rewire.test.js +++ b/test/rewire.test.js @@ -31,4 +31,10 @@ describe("rewire", function () { }); expect(coffeeModule.readFileSync()).to.be("It works!"); }); + it("should keep src variable in function scope", function () { + //expect(src).to.be(undefined); + // detectStrictMode(); + // console.dir(global); + expect(global.src).to.be(undefined); + }); });
\ No newline at end of file |