Skip to content

Commit ca1b71b

Browse files
authoredApr 6, 2018
Merge pull request #55 from sveltejs/fix-windows-tests
fix windows tests
2 parents ed89bab + 2defd86 commit ca1b71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/loader.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ describe('loader', () => {
445445
function(err, code, map) {
446446
expect(err).not.to.exist;
447447

448-
expect(code).to.contain(require.resolve('../lib/hot-api.js'));
448+
expect(code).to.contain(require.resolve('../lib/hot-api.js').replace(/[/\\]/g, '/'));
449449
},
450450
{ hotReload: true }
451451
)

0 commit comments

Comments
 (0)
Please sign in to comment.