Testing
- Framework: Vitest +
bun test - Files:
*.test.tscolocated with source - Convex: use
convex-testfor backend tests - Coverage:
bun test --coverage
Convex Mocking
import { convexTest } from "convex-test"
import schema from "./schema"
const t = convexTest(schema)
await t.run(async (ctx) => {
// test mutations/queries here
})
Converted and distributed by TomeVault — claim your Tome and manage your conversions.