Skip to content

Added tRPC and moved many IPC system to tRPC #3

Added tRPC and moved many IPC system to tRPC

Added tRPC and moved many IPC system to tRPC #3

Triggered via pull request November 1, 2024 04:19
@6XGate6XGate
synchronize #81
task/#78
Status Failure
Total duration 42s
Artifacts

coverage.yml

on: pull_request
Run eslint scanning
31s
Run eslint scanning
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/tests/env.test.ts > bad setup > context isolation off: src/tests/env.test.ts#L22
AssertionError: expected [Function] to throw error including 'process.exit unexpectedly called with…' but got '[vitest] There was an error when mock…' Expected: "process.exit unexpectedly called with "1"" Received: "[vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock" ❯ src/tests/env.test.ts:22:5
src/tests/env.test.ts > correct setup > ready: src/main/info/app.ts#L1
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/main/info/app.ts:1:1 Caused by: Caused by: Error: Electron failed to install correctly, please delete node_modules/electron and try installing again ❯ getElectronPath node_modules/electron/index.js:17:11 ❯ Object.<anonymous> node_modules/electron/index.js:21:18
src/tests/level.test.ts > basics: src/preload/plugins/info/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/preload/plugins/info/config.ts:2:31 Caused by: Caused by: Error: Electron failed to install correctly, please delete node_modules/electron and try installing again ❯ getElectronPath node_modules/electron/index.js:17:11 ❯ Object.<anonymous> node_modules/electron/index.js:21:18
src/tests/level.test.ts > basics: src/tests/level.test.ts#L12
TypeError: Cannot read properties of undefined (reading 'freeAllHandles') ❯ src/tests/level.test.ts:12:29
src/tests/drivers/extron/sis.test.ts > available: src/preload/plugins/info/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/preload/plugins/info/config.ts:2:31 Caused by: Error: Electron failed to install correctly, please delete node_modules/electron and try installing again ❯ getElectronPath node_modules/electron/index.js:17:11 ❯ Object.<anonymous> node_modules/electron/index.js:21:18
src/tests/drivers/extron/sis.test.ts > available: src/tests/drivers/extron/sis.test.ts#L22
TypeError: Cannot read properties of undefined (reading 'freeAllHandles') ❯ src/tests/drivers/extron/sis.test.ts:22:29
src/tests/drivers/extron/sis.test.ts > connect: src/preload/plugins/info/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/preload/plugins/info/config.ts:2:31 Caused by: Error: Electron failed to install correctly, please delete node_modules/electron and try installing again ❯ getElectronPath node_modules/electron/index.js:17:11 ❯ Object.<anonymous> node_modules/electron/index.js:21:18
src/tests/drivers/extron/sis.test.ts > connect: src/tests/drivers/extron/sis.test.ts#L22
TypeError: Cannot read properties of undefined (reading 'freeAllHandles') ❯ src/tests/drivers/extron/sis.test.ts:22:29
src/tests/drivers/extron/sis.test.ts > power on: src/preload/plugins/info/config.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ src/preload/plugins/info/config.ts:2:31 Caused by: Error: Electron failed to install correctly, please delete node_modules/electron and try installing again ❯ getElectronPath node_modules/electron/index.js:17:11 ❯ Object.<anonymous> node_modules/electron/index.js:21:18
src/tests/drivers/extron/sis.test.ts > power on: src/tests/drivers/extron/sis.test.ts#L22
TypeError: Cannot read properties of undefined (reading 'freeAllHandles') ❯ src/tests/drivers/extron/sis.test.ts:22:29