Skip to content

Commit

Permalink
testing with dom lib
Browse files Browse the repository at this point in the history
  • Loading branch information
tambien committed Oct 25, 2019
1 parent 08a6138 commit 4ccf4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test_examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function testExampleString(str) {
// work with file here in fd
await writeFile(path, str);
try {
await execPromise(`tsc ${path} --noEmit`);
await execPromise(`tsc --noEmit --target es5 --lib dom,ES2015 ${path}`);
} finally {
cleanup();
}
Expand Down

0 comments on commit 4ccf4d1

Please sign in to comment.