poku
Version:
🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
15 lines (14 loc) • 810 B
TypeScript
import type { DescribeOptions } from '../../@types/describe.js';
import { onlyDescribe, skip, todo } from './modifiers.js';
export declare function describeBase(arg1: string | (() => unknown | Promise<unknown>), arg2?: (() => unknown | Promise<unknown>) | DescribeOptions): Promise<void>;
declare function describeCore(message: string, cb: () => Promise<unknown>): Promise<void>;
declare function describeCore(message: string, cb: () => unknown): void;
declare function describeCore(cb: () => Promise<unknown>): Promise<void>;
declare function describeCore(cb: () => unknown): void;
declare function describeCore(message: string, options?: DescribeOptions): void;
export declare const describe: typeof describeCore & {
todo: typeof todo;
skip: typeof skip;
only: typeof onlyDescribe;
};
export {};