mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-14 16:56:06 -05:00
Update harnessIO.ts
This commit is contained in:
committed by
GitHub
parent
cdd9a2abb1
commit
2f853758f1
@@ -923,7 +923,7 @@ namespace Harness {
|
||||
Baseline.runBaseline(baselinePath.replace(/\.tsx?/, ts.Extension.Js), jsCode.length > 0 ? tsCode + "\r\n\r\n" + jsCode : null);
|
||||
}
|
||||
|
||||
function fileOutput(file: documents.TextDocument, harnessSettings: TestCaseParser.CompilerSettings): string {
|
||||
function fileOutput(file: documents.TextDocument, harnessSettings: HarnessOptions): string {
|
||||
const fileName = harnessSettings.fullEmitPaths ? Utils.removeTestPathPrefixes(file.file) : ts.getBaseFileName(file.file);
|
||||
return "//// [" + fileName + "]\r\n" + Utils.removeTestPathPrefixes(file.text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user