fix: update tests

This commit is contained in:
Eli Bosley
2025-07-08 16:15:29 -04:00
parent e57c0c086b
commit a8ddf50e83
3 changed files with 12 additions and 1 deletions

View File

@@ -5,7 +5,8 @@
"Bash(find:*)",
"Bash(pnpm codegen:*)",
"Bash(pnpm dev:*)",
"Bash(pnpm build:*)"
"Bash(pnpm build:*)",
"Bash(pnpm test:*)"
]
},
"enableAllProjectMcpServers": false

View File

@@ -38,6 +38,11 @@ vi.mock('@vue/apollo-composable', () => ({
onResult: vi.fn(),
onError: vi.fn(),
}),
useMutation: () => ({
mutate: vi.fn(),
onDone: vi.fn(),
onError: vi.fn(),
}),
provideApolloClient: vi.fn(),
}));

View File

@@ -41,6 +41,11 @@ vi.mock('@vue/apollo-composable', () => ({
onResult: vi.fn(),
onError: vi.fn(),
}),
useMutation: () => ({
mutate: vi.fn(),
onDone: vi.fn(),
onError: vi.fn(),
}),
provideApolloClient: vi.fn(),
}));