Skip to content

Commit 5265e48

Browse files
committed
Rename "intermediate" to "capture-env"
1 parent 37e3625 commit 5265e48

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

script/capture-env

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env node
2+
// Capture the environment variables that istanbul sets via spawn-wrap, then exec Atom's test runner.
3+
4+
const {spawnSync} = require('child_process');
5+
const atomPath = process.env.ATOM_SCRIPT_PATH || 'atom';
6+
process.env.BABEL_ENV = 'coverage';
7+
8+
spawnSync(atomPath, ['--test', 'test'], {
9+
stdio: 'inherit',
10+
});

script/intermediate

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)