chore(deps): bump the testing group across 1 directory with 10 updates #5249
Annotations
10 errors
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
front-end/src/tests/main/index.spec.ts#L186
AssertionError: expected undefined to be defined
❯ src/tests/main/index.spec.ts:186:39
|
|
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
|
|
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
|
|
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
|
|
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
|
The logs for this run have expired and are no longer available.
Loading