chore(deps): update vitest monorepo to v4 #146
Annotations
10 errors
|
Test
Process completed with exit code 1.
|
|
Test:
test/unit/server/zip.test.ts#L118
AssertionError: expected "vi.fn()" to be called with arguments: [ …(2) ]
Received:
1st vi.fn() call:
[
- "Failed to extract zip files: string error",
+ "Failed to extract zip files: () => ({
+ loadAsync: mockLoadAsync
+ }) is not a constructor",
{
- "cause": "string error",
+ "cause": TypeError {
+ "message": "() => ({
+ loadAsync: mockLoadAsync
+ }) is not a constructor",
+ },
},
]
Number of calls: 1
❯ test/unit/server/zip.test.ts:118:32
|
|
Test:
test/unit/server/zip.test.ts#L99
AssertionError: expected "vi.fn()" to be called with arguments: [ …(2) ]
Received:
1st vi.fn() call:
[
- "Failed to extract zip files: Invalid zip format",
+ "Failed to extract zip files: () => ({
+ loadAsync: mockLoadAsync
+ }) is not a constructor",
{
- "cause": Error {
- "message": "Invalid zip format",
+ "cause": TypeError {
+ "message": "() => ({
+ loadAsync: mockLoadAsync
+ }) is not a constructor",
},
},
]
Number of calls: 1
❯ test/unit/server/zip.test.ts:99:32
|
|
Test:
test/unit/server/zip.test.ts#L16
Error: Failed to extract zip files: () => ({
loadAsync: mockLoadAsync
}) is not a constructor
❯ test/unit/server/zip.test.ts:16:15
❯ Module.extractZipFiles server/utils/zip.ts:32:11
❯ test/unit/server/zip.test.ts:78:28
Caused by: Caused by: TypeError: () => ({
loadAsync: mockLoadAsync
}) is not a constructor
❯ Module.extractZipFiles server/utils/zip.ts:29:20
❯ test/unit/server/zip.test.ts:78:28
|
|
Test:
server/utils/sqlite.ts#L11
TypeError: () => ({
exec: mockExec
}) is not a constructor
❯ Module.loadDatabase server/utils/sqlite.ts:11:14
❯ test/unit/server/sqlite.test.ts:113:18
|
|
Test:
server/utils/sqlite.ts#L11
TypeError: () => ({
exec: mockExec
}) is not a constructor
❯ Module.loadDatabase server/utils/sqlite.ts:11:14
❯ test/unit/server/sqlite.test.ts:100:18
|
|
Test:
server/utils/sqlite.ts#L11
TypeError: () => ({
exec: mockExec
}) is not a constructor
❯ Module.loadDatabase server/utils/sqlite.ts:11:14
❯ test/unit/server/sqlite.test.ts:86:18
|
|
Test:
server/utils/sqlite.ts#L11
TypeError: () => ({
exec: mockExec
}) is not a constructor
❯ Module.loadDatabase server/utils/sqlite.ts:11:14
❯ test/unit/server/sqlite.test.ts:75:18
|
|
Test:
server/utils/sqlite.ts#L11
TypeError: () => ({
exec: mockExec
}) is not a constructor
❯ Module.loadDatabase server/utils/sqlite.ts:11:14
❯ test/unit/server/sqlite.test.ts:54:18
|
|
Test:
server/utils/sqlite.ts#L11
TypeError: () => ({
exec: mockExec
}) is not a constructor
❯ Module.loadDatabase server/utils/sqlite.ts:11:14
❯ test/unit/server/sqlite.test.ts:45:18
|
Loading