UNPKG

soda-test

Version:

Package for Unit and API tests

13 lines (12 loc) 449 B
import { Done } from "."; export interface TestSuite { describe: (title: string, fn?: () => void) => void; it: (title: string, fn?: (done?: Done) => void) => void; expect: (exp: unknown) => unknown; before: (fn?: () => void) => void; after: (fn?: () => void) => void; beforeEach: (fn?: () => void) => void; afterEach: (fn?: () => void) => void; } declare const testSuite: TestSuite; export default testSuite;