Skip to content

Commit 57918a3

Browse files
committed
skiplibcheck so that jsdom won't fail
1 parent 6be5890 commit 57918a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function compareToBaselines() {
2626

2727
function compileGeneratedFile(file: string) {
2828
try {
29-
child_process.execSync(`node ${tscPath} --strict --lib es5 --noEmit ${path.join(outputFolder, file)}`);
29+
child_process.execSync(`node ${tscPath} --strict --lib es5 --skipLibCheck --noEmit ${path.join(outputFolder, file)}`);
3030
} catch (e) {
3131
console.error(`Test failed: could not compile '${file}':`);
3232
console.error(e.stdout.toString());
@@ -46,4 +46,4 @@ function test() {
4646
process.exit(1);
4747
}
4848

49-
test();
49+
test();

0 commit comments

Comments
 (0)