Skip to content

refactor: merge TestProject with WorkspaceProject #12296

refactor: merge TestProject with WorkspaceProject

refactor: merge TestProject with WorkspaceProject #12296

Triggered via pull request November 15, 2024 11:35
Status Failure
Total duration 11m 42s
Artifacts

ci.yml

on: pull_request
Diff: node-latest, ubuntu-latest
7s
Diff: node-latest, ubuntu-latest
Lint: node-latest, ubuntu-latest
2m 28s
Lint: node-latest, ubuntu-latest
Matrix: test-browser
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
specs/benchmark.test.ts > benchmark: test/browser/specs/benchmark.test.ts#L6
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] ../../node:net:1882:21 + ❯ listenInCluster ../../node:net:1961:12 + ❯ GetAddrInfoReqWrap.doListen ../../node:net:2135:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] ../../node:dns:111:8 + ❯ GetAddrInfoReqWrap.callbackTrampoline ../../node:internal/async_hooks:130:17 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + + ❯ specs/benchmark.test.ts:6:25
specs/filter.test.ts > filter: test/browser/specs/filter.test.ts#L10
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] node:net:1882:21 + ❯ listenInCluster node:net:1961:12 + ❯ GetAddrInfoReqWrap.doListen node:net:2135:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] node:dns:111:8 + ❯ GetAddrInfoReqWrap.callbackTrampoline node:internal/async_hooks:130:17 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + + ❯ specs/filter.test.ts:10:18
specs/fix-4686.test.ts > tests run in presence of config.base: test/browser/specs/fix-4686.test.ts#L14
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] node:net:1882:21 + ❯ listenInCluster node:net:1961:12 + ❯ GetAddrInfoReqWrap.doListen node:net:2135:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] node:dns:111:8 + ❯ GetAddrInfoReqWrap.callbackTrampoline node:internal/async_hooks:130:17 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + + ❯ specs/fix-4686.test.ts:14:18
specs/locators.test.ts > locators work correctly: test/browser/specs/locators.test.ts#L10
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] ../../node:net:1882:21 + ❯ listenInCluster ../../node:net:1961:12 + ❯ GetAddrInfoReqWrap.doListen ../../node:net:2135:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] ../../node:dns:111:8 + ❯ GetAddrInfoReqWrap.callbackTrampoline ../../node:internal/async_hooks:130:17 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + + ❯ specs/locators.test.ts:10:18
specs/mocking.test.ts > mocking works correctly - isolated true: test/browser/specs/mocking.test.ts#L15
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] ../../node:net:1882:21 + ❯ listenInCluster ../../node:net:1961:12 + ❯ GetAddrInfoReqWrap.doListen ../../node:net:2135:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] ../../node:dns:111:8 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + + ❯ specs/mocking.test.ts:15:25
specs/mocking.test.ts > mocking works correctly - isolated false: test/browser/specs/mocking.test.ts#L15
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] ../../node:net:1882:21 + ❯ listenInCluster ../../node:net:1961:12 + ❯ GetAddrInfoReqWrap.doListen ../../node:net:2135:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] ../../node:dns:111:8 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + + ❯ specs/mocking.test.ts:15:25
specs/mocking.test.ts > mocking dependency correctly invalidates it on rerun: test/browser/specs/mocking.test.ts#L41
Error: Timeout when waiting for error "Waiting for file changes...". Received: stdout: DEV v2.2.0-beta.1 D:/a/vitest/vitest/test/browser/fixtures/mocking-watch ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ Vitest caught 1 unhandled error during the test run. This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Test Files no tests Tests no tests Errors 1 error Start at 11:39:56 Duration 152ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) FAIL Tests failed. Watching for file changes... press h to show help, press q to quit stderr: ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ Error: listen EACCES: permission denied ::1:63315 ❯ Server.setupListenHandle [as _listen2] ../../node:net:1882:21 ❯ listenInCluster ../../node:net:1961:12 ❯ GetAddrInfoReqWrap.doListen ../../node:net:2135:7 ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] ../../node:dns:111:8 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } ❯ specs/mocking.test.ts:41:16
specs/runner.test.ts > running browser tests > tests are actually running: test/browser/specs/runner.test.ts#L31
AssertionError: expected [] to have a length of 19 but got +0 - Expected + Received - 19 + 0 ❯ specs/runner.test.ts:31:43
specs/runner.test.ts > running browser tests > runs in-source tests: test/browser/specs/runner.test.ts#L41
AssertionError: expected '\n RUN v2.2.0-beta.1 D:/a/vitest/vit…' to contain 'src/actions.ts' - Expected + Received - src/actions.ts + + RUN v2.2.0-beta.1 D:/a/vitest/vitest/test/browser + + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:39:55 + Duration 194ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:41:20
specs/runner.test.ts > running browser tests > correctly prints error: test/browser/specs/runner.test.ts#L48
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'expected 1 to be 2' - Expected + Received - expected 1 to be 2 + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: listen EACCES: permission denied ::1:63315 + ❯ Server.setupListenHandle [as _listen2] node:net:1882:21 + ❯ listenInCluster node:net:1961:12 + ❯ GetAddrInfoReqWrap.doListen node:net:2135:7 + ❯ GetAddrInfoReqWrap.onlookup [as oncomplete] node:dns:111:8 + + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + Serialized Error: { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 63315 } + + ❯ specs/runner.test.ts:48:20