Added tRPC and moved many IPC system to tRPC #3
Annotations
10 errors
Check test coverage:
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
|
Check test coverage:
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
|
Check test coverage:
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
|
Check test coverage:
src/tests/level.test.ts#L12
TypeError: Cannot read properties of undefined (reading 'freeAllHandles')
❯ src/tests/level.test.ts:12:29
|
Check test coverage:
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
|
Check test coverage:
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
|
Check test coverage:
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
|
Check test coverage:
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
|
Check test coverage:
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
|
Check test coverage:
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
|
Loading