Skip to content

Commit 824a5c8

Browse files
test: fix
1 parent 240d580 commit 824a5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cli/cli.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runCLITest('CLI', () => {
3636
'$1 Thu Jan 01 1970 <CLR=BOLD>00:00:00</CLR> GMT'
3737
)
3838
.replace(/webpack [^ )]+/g, 'webpack x.x.x')
39-
.replace(new RegExp(quotemeta(basePath), 'g'), 'Xdir')
39+
.replace(new RegExp(quotemeta(basePath.replace(/\\/g, '/')), 'g'), 'Xdir')
4040
.replace(/[\\/]static/, '/static')
4141
.replace(/(Hash:) [a-z0-9]+/g, '$1 X')
4242
.replace(/ dependencies:Xms/g, '')

0 commit comments

Comments
 (0)