UNPKG

ts-jest

Version:

A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript

9 lines (8 loc) 351 B
/** * Rely on TypeScript compiled output generation which contains this prefix to point to sourcemap location. */ export declare const SOURCE_MAPPING_PREFIX = "sourceMappingURL="; /** * Update the output remapping the source map. */ export declare function updateOutput(outputText: string, normalizedFileName: string, sourceMap?: string): string;