fava
Version:
A wannabe tiny largely-drop-in replacement for ava that works in the browser too.
7 lines (6 loc) • 556 B
TypeScript
import type { DescribeImplementation, TestImplementation } from './types';
declare const Factory: {
makeDescribe: () => (<Context extends {} = {}>(title: string, implementation?: DescribeImplementation | undefined) => void) & Record<import("./types").TestHook, import("./types").TestHookImplementation<{}>>;
makeTest: () => (<Context_1 extends {} = {}>(title: string, implementation?: TestImplementation<Context_1> | undefined) => void) & Record<import("./types").TestHook, import("./types").TestHookImplementation<{}>>;
};
export default Factory;