Skip to content

Commit

Permalink
Disable chalk colorization while testing
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Sep 30, 2023
1 parent 2bfb01c commit 37c1018
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
ecmaFeatures: { jsx: true },
},
rules: {
'import/no-unresolved': ['error', { ignore: ['chalk', 'ts-key-enum'] }],
'import/no-unresolved': ['error', { ignore: ['ts-key-enum'] }],
'import/order': ['error', { alphabetize: { order: 'asc' } }],
},
settings: {
Expand Down
2 changes: 2 additions & 0 deletions jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
jest.mock('wrap-ansi')

require('css.escape') // Polyfill for CSS.escape

process.env.FORCE_COLOR = '0'

0 comments on commit 37c1018

Please sign in to comment.