8000 Update master · ShMcK/rewire-coderoad@6e796d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e796d9

Browse files
committed
Update master
1 parent bda3265 commit 6e796d9

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
@@ -88,7 +88,7 @@ rewiredModule.__.myPrivateVar2; // returns former private myPrivateVar2
8888
// By disabling the module cache the rewired module will not be cached.
8989
// Any later require()-calls within other modules will now return the original
9090
// module again instead of the rewired. Caching is enabled by default.
91-
rewiredModule = rewire("./myModuleA.js", null, null, null, false);
91+
rewire("./myModuleA.js", null, null, null, false) === require("./myModuleA.js"); // = false
9292
```
9393

9494
-----------------------------------------------------------------

0 commit comments

Comments
 (0)
0