Skip to content

Commit 8edcfd9

Browse files
shadowspawnaweebit
andauthored
Work-around bug in Jest (#2011)
Co-authored-by: Wee Bit <[email protected]>
1 parent e85e05a commit 8edcfd9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/fixtures/inspect.js

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
const program = require('../../');
44

5+
process.env.FORCE_COLOR = 0; // work-around bug in Jest: https://github.com/jestjs/jest/issues/14391
6+
57
program
68
.command('sub', 'install one or more packages')
79
.parse(process.argv);

tests/fixtures/pm

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env node
22

3+
process.env.FORCE_COLOR = 0; // work-around bug in Jest: https://github.com/jestjs/jest/issues/14391
4+
35
var program = require('../../');
46

57
program

0 commit comments

Comments
 (0)