Skip to content

chore(deps): update various dependencies and improve package versions #5252

chore(deps): update various dependencies and improve package versions

chore(deps): update various dependencies and improve package versions #5252

Triggered via pull request May 13, 2026 00:52
Status Failure
Total duration 2m 26s
Artifacts

test-frontend.yaml

on: pull_request
Build | Front-end
1m 3s
Build | Front-end
Matrix: unit-test
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Build | Front-end
Process completed with exit code 2.
Build | Front-end
Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
src/tests/main/db/init.spec.ts > Initialize database > Should apply migration if new available: front-end/src/main/db/init.ts#L21
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. ❯ Module.initDatabase src/main/db/init.ts:21:14 ❯ src/tests/main/db/init.spec.ts:107:11
src/tests/main/db/init.spec.ts > Initialize database > Should apply first migration if database does not exists: front-end/src/main/db/init.ts#L21
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. ❯ Module.initDatabase src/main/db/init.ts:21:14 ❯ src/tests/main/db/init.spec.ts:68:11
src/tests/main/index.spec.ts > Electron entry file > Should init mainWindow when second-instance fires and mainWindow is null: front-end/src/tests/main/index.spec.ts#L248
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. ❯ src/tests/main/index.spec.ts:248:24
src/tests/main/index.spec.ts > Electron entry file > Should focus but not restore window on second-instance when not minimized: front-end/src/tests/main/index.spec.ts#L224
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. ❯ src/tests/main/index.spec.ts:224:24
src/tests/main/index.spec.ts > Electron entry file > Should restore and focus window on second-instance event: front-end/src/tests/main/index.spec.ts#L202
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. ❯ src/tests/main/index.spec.ts:202:24
src/tests/main/index.spec.ts > Electron entry file > Should call on headers received callback: front-end/src/tests/main/index.spec.ts#L186
AssertionError: expected undefined to be defined ❯ src/tests/main/index.spec.ts:186:39
src/tests/main/index.spec.ts > Electron entry file > Should init window on 'activate' event: front-end/src/tests/main/index.spec.ts#L78
AssertionError: expected undefined to be defined ❯ assertEventHandler src/tests/main/index.spec.ts:78:21 ❯ src/tests/main/index.spec.ts:176:11
src/tests/main/index.spec.ts > Electron entry file > Should set window to null on 'closed' event: front-end/src/tests/main/index.spec.ts#L165
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. ❯ src/tests/main/index.spec.ts:165:24
src/tests/main/index.spec.ts > Electron entry file > Should handle deep link on 'open-url' event: front-end/src/tests/main/index.spec.ts#L161
AssertionError: expected "vi.fn()" to be called with arguments: [ Any<Object>, null, 'test-url' ] Number of calls: 0 ❯ src/tests/main/index.spec.ts:161:28
src/tests/main/index.spec.ts > Electron entry file > Should initialize the main process: front-end/src/tests/main/index.spec.ts#L96
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. ❯ src/tests/main/index.spec.ts:96:56
Unit Tests | Renderer Process
Process completed with exit code 1.