WIP more tests

This commit is contained in:
Ryan Cavanaugh
2018-05-22 18:10:03 -07:00
parent 5a664be278
commit d4a56b910f
+6
View File
@@ -21,6 +21,12 @@ namespace ts {
fs.chdir("/src/tests");
builder.buildProjects(["."]);
assertDiagnosticMessages(/*empty*/);
// Check for outputs. Not an exhaustive list
const expectedOutputs = ["/src/tests/index.js", "/src/core/index.js", "/src/core/index.d.ts"];
for (const output of expectedOutputs) {
assert(fs.existsSync(output), `Expect file ${output} to exist`);
}
});
});