Error on missing expected.json fixture in CI (#188)

This commit is contained in:
Moti Zilberman 2016-10-16 14:55:41 +03:00 committed by Henry Zhu
parent 394c9543c9
commit 490ae9a44c

View File

@ -46,7 +46,7 @@ function runTest(test) {
throw err;
}
if (!test.expect.code && !opts.throws) {
if (!test.expect.code && !opts.throws && !process.env.CI) {
test.expect.loc += "on";
return save(test, ast);
}