Skip to content

Commit 4c23062

Browse files
committed
Fix test broken by context.path change.
1 parent 8963392 commit 4c23062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testsuite/tests/util/Context-node.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('context object', () => {
1919

2020
test('context', () => {
2121
if (OS === 'Windows') {
22-
expect(context.path('C:\\test.js')).toBe('C:/test.js');
22+
expect(context.path('C:\\test.js')).toBe('file:///C:/test.js');
2323
} else {
2424
expect(context.path('C:\\test.js')).toBe('C:\\test.js');
2525
}

0 commit comments

Comments
 (0)