Skip to content

Commit

Permalink
Work-around bug in Jest (#2011)
Browse files Browse the repository at this point in the history

Co-authored-by: Wee Bit <aweebit64@gmail.com>
  • Loading branch information
shadowspawn and aweebit committed Sep 10, 2023
1 parent e85e05a commit 8edcfd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/fixtures/inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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

process.env.FORCE_COLOR = 0; // work-around bug in Jest: https://github.com/jestjs/jest/issues/14391

program
.command('sub', 'install one or more packages')
.parse(process.argv);
2 changes: 2 additions & 0 deletions tests/fixtures/pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env node

process.env.FORCE_COLOR = 0; // work-around bug in Jest: https://github.com/jestjs/jest/issues/14391

var program = require('../../');

program
Expand Down

0 comments on commit 8edcfd9

Please sign in to comment.