poku
Version:
🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
16 lines (15 loc) • 598 B
TypeScript
import { onlyIt, skip, todo } from '../modifiers.js';
export declare function itBase(...args: [
string | (() => unknown | Promise<unknown>),
(() => unknown | Promise<unknown>)?
]): Promise<void>;
declare function itCore(title: string, cb: () => Promise<unknown>): Promise<void>;
declare function itCore(title: string, cb: () => unknown): void;
declare function itCore(cb: () => Promise<unknown>): Promise<void>;
declare function itCore(cb: () => unknown): void;
export declare const it: typeof itCore & {
todo: typeof todo;
skip: typeof skip;
only: typeof onlyIt;
};
export {};