8000 - Fixed wrong path in test · ShMcK/rewire-coderoad@171f1d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 171f1d2

Browse files
committed
- Fixed wrong path in test
1 parent d9708b0 commit 171f1d2

File tree

< 8000 button data-component="IconButton" type="button" data-testid="collapse-file-tree-button" aria-expanded="true" aria-controls="diff_file_tree" class="prc-Button-ButtonBase-c50BI d-none d-md-flex position-relative fgColor-muted prc-Button-IconButton-szpyj" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="invisible" aria-describedby=":Rsatdab:-loading-announcement" aria-labelledby=":R4atdab:">

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/rewire.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe("rewire", function () {
1515
rewire("./testModules/moduleA.js").getFilename();
1616
require("./testModules/moduleA.js").getFilename();
1717
expect(rewire("./testModules/moduleA.js").getFilename()).to.eql(require("./testModules/moduleA.js").getFilename());
18-
expect(rewire(".testModules/someOtherModule.js").filename).to.eql(require("./testModules/someOtherModule.js").filename);
18+
expect(rewire("./testModules/someOtherModule.js").filename).to.eql(require("./testModules/someOtherModule.js").filename);
1919
});
2020
it("should return a fresh instance of the module", function () {
2121
var someOtherModule = require("./testModules/someOtherModule.js"),

0 commit comments

Comments
 (0)
0