UNPKG

arrange-act-assert

Version:

The lightweight "Act-Arrange-Assert" oriented testing framework

7 lines (6 loc) 314 B
import * as Module from "module"; export type GetSourceMapContext = { readFile(file: string): Promise<string>; getHttpFile(url: string): Promise<string>; }; export default function getSourceMap(folder: string, code: string, context?: Partial<GetSourceMapContext>): Promise<Module.SourceMapPayload | null>;