UNPKG

ts-snippet

Version:

A TypeScript snippet testing library for any test framework

5 lines (4 loc) 339 B
import { Compiler } from "./compiler"; import { Expect } from "./expect"; export declare function expecter(factory: (code: string) => string, compiler: Compiler): (code: string) => Expect; export declare function expecter(factory?: (code: string) => string, compilerOptions?: object, rootDirectory?: string): (code: string) => Expect;