We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdc24b0 commit a04a8eeCopy full SHA for a04a8ee
README.md
@@ -108,7 +108,7 @@ myModule.__set__({
108
109
### Caveats
110
111
-**Difference to require()**
+**Difference to require()**<br>
112
Every call of rewire() executes the module again and returns a fresh instance.
113
114
```javascript
@@ -117,7 +117,7 @@ rewire("./myModule.js") === rewire("./myModule.js"); // = false
117
118
This can especially be a problem if the module is not idempotent [like mongoose models](https://github.com/jhnns/rewire/issues/27).
119
120
-**Changing globals**
+**Changing globals**<br>
121
Be careful, if you do something like this you'll change your global console instance.
122
123
0 commit comments