diff --git a/test/index.js b/test/index.js index efc6fe5ae5..142358cb42 100644 --- a/test/index.js +++ b/test/index.js @@ -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); }