chore(deps): update various dependencies and improve package versions #5255
test-frontend.yaml
on: pull_request
Build | Front-end
1m 12s
Matrix: unit-test
Matrix: test
Annotations
21 errors
|
Build | Front-end
'"@vuepic/vue-datepicker"' has no exported member named 'VueDatePickerProps'. Did you mean 'VueDatePicker'?
|
|
Build | Front-end
Module '"@vuepic/vue-datepicker"' has no exported member 'DatePickerInstance'.
|
|
Build | Front-end
Type 'number | null | undefined' is not assignable to type 'number | null'.
|
|
Build | Front-end
'baseTransactionRef' is declared but its value is never read.
|
|
Build | Front-end
Type 'Uint8Array<ArrayBufferLike>' is not assignable to type 'Uint8Array<ArrayBuffer>'.
|
|
Build | Front-end
'baseTransactionRef' is declared but its value is never read.
|
|
Build | Front-end
'"@vuepic/vue-datepicker"' has no exported member named 'VueDatePickerProps'. Did you mean 'VueDatePicker'?
|
|
Build | Front-end
Type '{ item: T; label: string; }' is not assignable to type 'PropertyKey | undefined'.
|
|
Build | Front-end
Type '{ value: string; label: string; }' is not assignable to type 'PropertyKey | undefined'.
|
|
Build | Front-end
Property 'account' does not exist on type '{ network: string; id: string; nickname: string | null; user_id: string; created_at: Date; account_id: string; }'.
|
|
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.
|