e2ed
Version:
E2E testing framework over Playwright
7 lines (6 loc) • 386 B
TypeScript
import type { AnyPack, GetPackParameters, TestFunction, UserlandHooks } from './types/internal';
/**
* Creates a test function that describes the test or the task
* (test does not necessarily contain checks).
*/
export declare const createTestFunction: <Pack extends AnyPack, TestMeta = GetPackParameters<Pack>["TestMeta"]>(hooks: UserlandHooks<TestMeta>) => TestFunction<TestMeta>;