import { setupTesting } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.8/src/testing/utils.ts";
Setup the database for testing. It will create a transaction for each test case and rollback the transaction after each test case.
Examples
Example 1
Example 1
import { stub } from "jsr:@std/testing/mock";
import bdd from "jsr:@std/testing/bdd";
setupTesting({stub, ...bdd})