Skip to content

Commit 9b77096

Browse files
committed
Put back AVA_APPVEYOR environment variable when running tests.
1 parent e2e4515 commit 9b77096

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/cli.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,15 @@ function execCli(args, cb) {
99
args = [args];
1010
}
1111

12+
var env = {};
13+
14+
if (process.env.AVA_APPVEYOR) {
15+
env.AVA_APPVEYOR = 1;
16+
}
17+
1218
childProcess.execFile(process.execPath, ['../cli.js'].concat(args), {
1319
cwd: __dirname,
14-
env: {}
20+
env: env
1521
}, cb);
1622
}
1723

0 commit comments

Comments
 (0)