@mojir/lits
Version:
Lits is a Lisp dialect implemented in TypeScript
15 lines (14 loc) • 388 B
TypeScript
export interface RunTestParams {
testPath: string;
testNamePattern?: RegExp;
}
export interface TestResult {
/**
* Test report
* http://testanything.org/
*/
tap: string;
success: boolean;
}
export declare function runTest({ testPath: filePath, testNamePattern }: RunTestParams): TestResult;
export declare function getErrorYaml(error: unknown): string;