Skip to content

Commit fc9a33e

Browse files
committed
ugh windows
1 parent ac38b0d commit fc9a33e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,11 @@ test(t =>
175175
'./numberFolder': './folder',
176176
})],
177177
}).then(stats => {
178-
t.is(stats.modules[0].id.endsWith('/files/nonAliased.js'), true);
179-
t.is(stats.modules[1].id.endsWith('/files/aliasMe.js'), true);
180-
t.is(stats.modules[2].id.endsWith('/files/localAliasMe.js'), true);
181-
t.is(stats.modules[3].id.endsWith('/files/folder/anotherNumber.js'), true);
182-
t.is(stats.modules[4].id.endsWith('/files/index.js'), true);
178+
t.is(stats.modules[0].id.endsWith(path.normalize('/files/nonAliased.js')), true);
179+
t.is(stats.modules[1].id.endsWith(path.normalize('/files/aliasMe.js')), true);
180+
t.is(stats.modules[2].id.endsWith(path.normalize('/files/localAliasMe.js')), true);
181+
t.is(stats.modules[3].id.endsWith(path.normalize('/files/folder/anotherNumber.js')), true);
182+
t.is(stats.modules[4].id.endsWith(path.normalize('/files/index.js')), true);
183183
t.is(stats.modules.length, 5);
184184
})
185185
);

0 commit comments

Comments
 (0)