Skip to content

Commit

Permalink
Error on missing expected.json fixture in CI (babel#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
motiz88 authored and Kristof degrave committed Oct 27, 2016
1 parent 0115934 commit 36a42a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 36a42a6

Please sign in to comment.