mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-23 18:48:40 -05:00
Issue a better error
This commit is contained in:
@@ -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");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user