UNPKG

bknd

Version:

Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.

17 lines (16 loc) 601 B
import { beforeEach, afterEach, afterAll, beforeAll } from "bun:test"; export declare const bunTestRunner: { describe: import("bun:test").Describe<[]>; expect: import("bun:test").Expect; test: import("bun:test").Test<[]>; mock: { <T extends (...args: any[]) => any>(Function?: T): import("bun:test").Mock<T>; module(id: string, factory: () => any): void | Promise<void>; restore(): void; clearAllMocks(): void; }; beforeEach: typeof beforeEach; afterEach: typeof afterEach; afterAll: typeof afterAll; beforeAll: typeof beforeAll; };