mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 20:25:23 -06:00
Issue a better error
This commit is contained in:
parent
cddff912d5
commit
ed0b90c978
@ -5,6 +5,7 @@ describe("Public APIs", () => {
|
||||
let fileContent: string;
|
||||
before(() => {
|
||||
fileContent = Harness.IO.readFile(builtFile)!;
|
||||
if (!fileContent) throw new Error(`File ${fileName} was not present in built/local`);
|
||||
fileContent = fileContent.replace(/\r\n/g, "\n");
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user