Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3cef656

Browse files
committed
Update master
1 parent eb120df commit 3cef656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ rewiredModule.__.myPrivateVar2; // returns former private myPrivateVar2
9090
// By disabling the module cache the rewired module will not be cached.
9191
// Any later require()-calls within other modules will now return the original
9292
// module again instead of the rewired. Caching is enabled by default.
93-
rewire("./myModuleA.js", null, null, null, false) === require("./myModuleA.js"); // = false
93+
rewire("./myModuleA.js", null, null, null, false) !== require("./myModuleA.js"); // = true
9494
```
9595

9696
-----------------------------------------------------------------

0 commit comments

Comments
 (0)