From 490ae9a44ceda58d217e949b2dd780ec0d558900 Mon Sep 17 00:00:00 2001 From: Moti Zilberman Date: Sun, 16 Oct 2016 14:55:41 +0300 Subject: [PATCH] Error on missing expected.json fixture in CI (#188) --- test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }