jest-gwt
Version:
A small library to help Jest support given-when-then style testing without a bunch of overhead
8 lines (7 loc) • 428 B
TypeScript
import type { GwtDefinition } from 'gwt-runner';
import { TestContext } from 'gwt-runner';
declare const _default: <TContext>(name: string, gwtDefinition: GwtDefinition<TContext>) => void;
export default _default;
export { TestContext };
export declare const xtest: <T>(name: string, def: GwtDefinition<T>) => void;
export declare const withAspect: <T>(before: (this: T) => any, after?: ((this: T) => any) | undefined) => void;