Skip to content

fix(deps): update npm to v4 - - package.json (major) #9270

fix(deps): update npm to v4 - - package.json (major)

fix(deps): update npm to v4 - - package.json (major) #9270

Triggered via pull request April 20, 2026 16:31
Status Failure
Total duration 6m 42s
Artifacts

ci.yml

on: pull_request
Matrix: build-ubuntu
build result
4s
build result
Fit to window
Zoom out
Zoom in

Annotations

71 errors
test/testProxy.test.ts > Proxy > getExpressApp() > should return express app after start() is called: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:227:19
test/testProxy.test.ts > Proxy > start() > should set up express app after starting: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:208:19
test/testProxy.test.ts > Proxy > start() > should start the HTTP server: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:199:19
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when paths are not provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:173:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when TLS is disabled: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:161:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should read TLS key and cert files when TLS is enabled and paths are provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:148:25
test/ConfigLoader.test.ts: test/ConfigLoader.test.ts#L556
TypeError: Signature "test(name, fn, { ... })" was deprecated in Vitest 3 and removed in Vitest 4. Please, provide options as a second argument instead. ❯ test/ConfigLoader.test.ts:556:5
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testLogin.test.ts:45:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testLogin.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:447:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:103:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
test/testProxy.test.ts > Proxy > stop() > should stop without errors: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:240:19
test/testProxy.test.ts > Proxy > getExpressApp() > should return express app after start() is called: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:227:19
test/testProxy.test.ts > Proxy > start() > should set up express app after starting: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:208:19
test/testProxy.test.ts > Proxy > start() > should start the HTTP server: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:199:19
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when paths are not provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:173:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when TLS is disabled: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:161:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should read TLS key and cert files when TLS is enabled and paths are provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:148:25
test/ConfigLoader.test.ts: test/ConfigLoader.test.ts#L556
TypeError: Signature "test(name, fn, { ... })" was deprecated in Vitest 3 and removed in Vitest 4. Please, provide options as a second argument instead. ❯ test/ConfigLoader.test.ts:556:5
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:447:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -4091, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:103:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -4091, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
test/testProxy.test.ts > Proxy > stop() > should stop without errors: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:240:19
test/testProxy.test.ts > Proxy > getExpressApp() > should return express app after start() is called: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:227:19
test/testProxy.test.ts > Proxy > start() > should set up express app after starting: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:208:19
test/testProxy.test.ts > Proxy > start() > should start the HTTP server: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:199:19
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when paths are not provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:173:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when TLS is disabled: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:161:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should read TLS key and cert files when TLS is enabled and paths are provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:148:25
test/ConfigLoader.test.ts: test/ConfigLoader.test.ts#L556
TypeError: Signature "test(name, fn, { ... })" was deprecated in Vitest 3 and removed in Vitest 4. Please, provide options as a second argument instead. ❯ test/ConfigLoader.test.ts:556:5
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:447:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:103:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
test/testProxy.test.ts > Proxy > stop() > should stop without errors: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:240:19
test/testProxy.test.ts > Proxy > getExpressApp() > should return express app after start() is called: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:227:19
test/testProxy.test.ts > Proxy > start() > should set up express app after starting: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:208:19
test/testProxy.test.ts > Proxy > start() > should start the HTTP server: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:199:19
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when paths are not provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:173:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when TLS is disabled: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:161:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should read TLS key and cert files when TLS is enabled and paths are provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:148:25
test/ConfigLoader.test.ts: test/ConfigLoader.test.ts#L556
TypeError: Signature "test(name, fn, { ... })" was deprecated in Vitest 3 and removed in Vitest 4. Please, provide options as a second argument instead. ❯ test/ConfigLoader.test.ts:556:5
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:447:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:103:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
test/testProxy.test.ts > Proxy > stop() > should stop without errors: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:240:19
test/testProxy.test.ts > Proxy > getExpressApp() > should return express app after start() is called: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:227:19
test/testProxy.test.ts > Proxy > start() > should set up express app after starting: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:208:19
test/testProxy.test.ts > Proxy > start() > should start the HTTP server: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:199:19
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when paths are not provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:173:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when TLS is disabled: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:161:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should read TLS key and cert files when TLS is enabled and paths are provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:148:25
test/ConfigLoader.test.ts: test/ConfigLoader.test.ts#L556
TypeError: Signature "test(name, fn, { ... })" was deprecated in Vitest 3 and removed in Vitest 4. Please, provide options as a second argument instead. ❯ test/ConfigLoader.test.ts:556:5
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:447:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:103:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
test/testProxy.test.ts > Proxy > stop() > should stop without errors: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:240:19
test/testProxy.test.ts > Proxy > getExpressApp() > should return express app after start() is called: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:227:19
test/testProxy.test.ts > Proxy > start() > should set up express app after starting: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:208:19
test/testProxy.test.ts > Proxy > start() > should start the HTTP server: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:199:19
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when paths are not provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:173:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when TLS is disabled: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:161:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should read TLS key and cert files when TLS is enabled and paths are provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:148:25
test/ConfigLoader.test.ts: test/ConfigLoader.test.ts#L556
TypeError: Signature "test(name, fn, { ... })" was deprecated in Vitest 3 and removed in Vitest 4. Please, provide options as a second argument instead. ❯ test/ConfigLoader.test.ts:556:5
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:447:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:103:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
test/testProxy.test.ts > Proxy > stop() > should stop without errors: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:240:19
test/testProxy.test.ts > Proxy > getExpressApp() > should return express app after start() is called: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:227:19
test/testProxy.test.ts > Proxy > start() > should set up express app after starting: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:208:19
test/testProxy.test.ts > Proxy > start() > should start the HTTP server: src/proxy/index.ts#L73
TypeError: Cannot use `mockReturnValue` when called with `new`. Use `mockImplementation` with a `class` keyword instead. See https://vitest.dev/api/mock#class-support for more information. ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/testProxy.test.ts:199:19
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when paths are not provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:173:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should not read TLS files when TLS is disabled: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:161:25
test/proxy.test.ts > Proxy Module TLS Certificate Loading > TLS certificate file reading > should read TLS key and cert files when TLS is enabled and paths are provided: src/proxy/index.ts#L73
TypeError: () => mockPluginLoader is not a constructor ❯ Proxy.proxyPreparations src/proxy/index.ts:73:26 ❯ Proxy.start src/proxy/index.ts:98:16 ❯ test/proxy.test.ts:148:25
test/ConfigLoader.test.ts: test/ConfigLoader.test.ts#L556
TypeError: Signature "test(name, fn, { ... })" was deprecated in Vitest 3 and removed in Vitest 4. Please, provide options as a second argument instead. ❯ test/ConfigLoader.test.ts:556:5
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:447:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/service/index.ts#L190
Error: listen EADDRINUSE: address already in use :::8080 ❯ Object.start src/service/index.ts:190:15 ❯ test/testRepoApi.test.ts:103:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 8080 } This error originated in "test/testRepoApi.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
build result
Process completed with exit code 1.