refactor: migrate tests to Vitest + TS #7092
Annotations
4 errors
|
build (20.x, 4.4)
Process completed with exit code 1.
|
|
Unhandled error:
src/proxy/index.ts#L76
Error: listen EADDRINUSE: address already in use :::8000
❯ Server.setupListenHandle [as _listen2] node:net:1908:16
❯ listenInCluster node:net:1965:12
❯ Server.listen node:net:2067:7
❯ Proxy.start src/proxy/index.ts:76:8
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ test/proxy.test.ts:155:7
❯ node_modules/@vitest/runner/dist/chunk-hooks.js:752:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8000 }
This error originated in "test/proxy.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
|
|
Unhandled error:
src/proxy/index.ts#L76
Error: listen EADDRINUSE: address already in use :::8000
❯ Server.setupListenHandle [as _listen2] node:net:1908:16
❯ listenInCluster node:net:1965:12
❯ Server.listen node:net:2067:7
❯ Proxy.start src/proxy/index.ts:76:8
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ test/proxy.test.ts:143:7
❯ node_modules/@vitest/runner/dist/chunk-hooks.js:752:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8000 }
This error originated in "test/proxy.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should not read TLS files when paths are not provided". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/proxy/index.ts#L76
Error: listen EADDRINUSE: address already in use :::8000
❯ Server.setupListenHandle [as _listen2] node:net:1908:16
❯ listenInCluster node:net:1965:12
❯ Server.listen node:net:2067:7
❯ Proxy.start src/proxy/index.ts:76:8
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ test/proxy.test.ts:130:7
❯ node_modules/@vitest/runner/dist/chunk-hooks.js:752:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8000 }
This error originated in "test/proxy.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should not read TLS files when TLS is disabled". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|