File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 24
24
"@types/babel__core" : " ^7.1.14" ,
25
25
"babel-plugin-istanbul" : " ^7.0.0" ,
26
26
"babel-preset-jest" : " workspace:*" ,
27
- "chalk" : " ^4.0.0" ,
28
27
"graceful-fs" : " ^4.2.9" ,
28
+ "picocolors" : " ^1.0.1" ,
29
29
"slash" : " ^3.0.0"
30
30
},
31
31
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import {
13
13
transformSync as babelTransform ,
14
14
transformAsync as babelTransformAsync ,
15
15
} from '@babel/core' ;
16
- import chalk = require( 'chalk' ) ;
17
16
import * as fs from 'graceful-fs' ;
17
+ import picocolors = require( 'picocolors' ) ;
18
18
import slash = require( 'slash' ) ;
19
19
import type {
20
20
TransformOptions as JestTransformOptions ,
@@ -38,9 +38,9 @@ function assertLoadedBabelConfig(
38
38
) : asserts babelConfig {
39
39
if ( ! babelConfig ) {
40
40
throw new Error (
41
- `babel-jest: Babel ignores ${ chalk . bold (
41
+ `babel-jest: Babel ignores ${ picocolors . bold (
42
42
slash ( path . relative ( cwd , filename ) ) ,
43
- ) } - make sure to include the file in Jest's ${ chalk . bold (
43
+ ) } - make sure to include the file in Jest's ${ picocolors . bold (
44
44
'transformIgnorePatterns' ,
45
45
) } as well.`,
46
46
) ;
You can’t perform that action at this time.
0 commit comments