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

Skip to content

Commit c6aacb4

Browse files
committed
changed package.json
1 parent 9b99442 commit c6aacb4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ rewire("./myModuleA.js", null, null, null, false) !== require("./myModuleA.js");
9797

9898
##API
9999

100-
**rewire(***filename, mocks, injections, leaks, cache*)
100+
**rewire(***filename, mocks, injections, leaks, cache***)**
101101

102102
- *{!String} filename*: Path to the module that shall be rewired. Use it exactly like require().
103103
- *{Object} mocks (optional)*: An object with mocks. Keys should be the exactly the same like they're required in the target module. So if you write ```require("../../myModules/myModuleA.js")``` you need to pass ```{"../../myModules/myModuleA.js": myModuleAMock}```.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"web" : "http://johannesewald.de"
1616
},
1717
"main" : "lib/index.js",
18+
"homepage": "http://jhnns.github.com/rewire",
1819
"bugs" : {
1920
"url" : "http://github.com/jhnns/rewire/issues",
2021
"email" : "[email protected]"

0 commit comments

Comments
 (0)