fix(vite-node): remove suffix slash on file protocol for window #10396
Annotations
12 errors
test/utils.test.ts > normalizeRequestId should be normarlize file protocol path correctly in 'darwin':
test/vite-node/test/utils.test.ts#L20
AssertionError: expected 'Users/user/workspace/file.js' to be '/Users/user/workspace/file.js' // Object.is equality
- Expected
+ Received
- /Users/user/workspace/file.js
+ Users/user/workspace/file.js
❯ test/utils.test.ts:20:36
|
test/utils.test.ts > normalizeRequestId should be normarlize file protocol path correctly in 'linux':
test/vite-node/test/utils.test.ts#L20
AssertionError: expected 'Users/user/workspace/file.js' to be '/Users/user/workspace/file.js' // Object.is equality
- Expected
+ Received
- /Users/user/workspace/file.js
+ Users/user/workspace/file.js
❯ test/utils.test.ts:20:36
|
test (macos-14, 20.14)
Process completed with exit code 1.
|
test/utils.test.ts > normalizeRequestId should be normarlize file protocol path correctly in 'darwin':
test/vite-node/test/utils.test.ts#L20
AssertionError: expected 'Users/user/workspace/file.js' to be '/Users/user/workspace/file.js' // Object.is equality
- Expected
+ Received
- /Users/user/workspace/file.js
+ Users/user/workspace/file.js
❯ test/utils.test.ts:20:36
|
test/utils.test.ts > normalizeRequestId should be normarlize file protocol path correctly in 'linux':
test/vite-node/test/utils.test.ts#L20
AssertionError: expected 'Users/user/workspace/file.js' to be '/Users/user/workspace/file.js' // Object.is equality
- Expected
+ Received
- /Users/user/workspace/file.js
+ Users/user/workspace/file.js
❯ test/utils.test.ts:20:36
|
test (ubuntu-latest, 20.14)
Process completed with exit code 1.
|
test/utils.test.ts > normalizeRequestId should be normarlize file protocol path correctly in 'darwin':
test/vite-node/test/utils.test.ts#L20
AssertionError: expected 'Users/user/workspace/file.js' to be '/Users/user/workspace/file.js' // Object.is equality
- Expected
+ Received
- /Users/user/workspace/file.js
+ Users/user/workspace/file.js
❯ test/utils.test.ts:20:36
|
test/utils.test.ts > normalizeRequestId should be normarlize file protocol path correctly in 'linux':
test/vite-node/test/utils.test.ts#L20
AssertionError: expected 'Users/user/workspace/file.js' to be '/Users/user/workspace/file.js' // Object.is equality
- Expected
+ Received
- /Users/user/workspace/file.js
+ Users/user/workspace/file.js
❯ test/utils.test.ts:20:36
|
test (ubuntu-latest, 18)
Process completed with exit code 1.
|
test/utils.test.ts > normalizeRequestId should be normarlize file protocol path correctly in 'darwin':
test/vite-node/test/utils.test.ts#L20
AssertionError: expected 'Users/user/workspace/file.js' to be '/Users/user/workspace/file.js' // Object.is equality
- Expected
+ Received
- /Users/user/workspace/file.js
+ Users/user/workspace/file.js
❯ test/utils.test.ts:20:36
|
test/utils.test.ts > normalizeRequestId should be normarlize file protocol path correctly in 'linux':
test/vite-node/test/utils.test.ts#L20
AssertionError: expected 'Users/user/workspace/file.js' to be '/Users/user/workspace/file.js' // Object.is equality
- Expected
+ Received
- /Users/user/workspace/file.js
+ Users/user/workspace/file.js
❯ test/utils.test.ts:20:36
|
test (windows-latest, 20.14)
Process completed with exit code 1.
|