Skip to content

fix(vite-node): remove suffix slash on file protocol for window #10396

fix(vite-node): remove suffix slash on file protocol for window

fix(vite-node): remove suffix slash on file protocol for window #10396

Triggered via pull request July 12, 2024 17:06
Status Failure
Total duration 9m 27s
Artifacts

ci.yml

on: pull_request
Matrix: test-browser-windows
Matrix: test-browser
Matrix: test-ui
Matrix: test
Fit to window
Zoom out
Zoom in

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.