Fix api mock import for bun test
This commit is contained in:
parent
cb0ee989c0
commit
09711d0465
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ vi.mock("convex/browser", () => ({
|
|||
}))
|
||||
|
||||
vi.mock("@/convex/_generated/api", async () => {
|
||||
const actual = await vi.importActual<typeof import("@/convex/_generated/api")>("@/convex/_generated/api")
|
||||
const actual = await import("@/convex/_generated/api")
|
||||
return {
|
||||
...actual,
|
||||
api: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue