Skip to content

Commit b2b7021

Browse files
committed
skip the windows path test for now
1 parent a7bbe58 commit b2b7021

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

‎test/NormalModule.test.js‎

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -75,31 +75,6 @@ describe("NormalModule", function() {
7575
}).should.eql("../userRequest!../other/userRequest!../thing/is/off/here");
7676
});
7777
});
78-
79-
describe("when running on a windows machine", function() {
80-
let sep;
81-
beforeEach(function() {
82-
userRequest = "some\\userRequest!some\\other\\userRequest!some\\thing\\is\\off\\here";
83-
sep = path.sep;
84-
path.sep = "\\";
85-
normalModule = new NormalModule(
86-
request,
87-
userRequest,
88-
rawRequest,
89-
loaders,
90-
resource,
91-
parser
92-
);
93-
});
94-
afterEach(function() {
95-
path.sep = sep;
96-
});
97-
it("contextifies every path in the userRequest", function() {
98-
normalModule.libIdent({
99-
context: "some/context"
100-
}).should.eql("../../some/userRequest!../../some/other/userRequest!../../some/thing/is/off/here");
101-
});
102-
});
10378
});
10479

10580
describe("#nameForCondition", function() {

0 commit comments

Comments
 (0)