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 2424 "@types/babel__core" : " ^7.1.14" ,
2525 "babel-plugin-istanbul" : " ^7.0.0" ,
2626 "babel-preset-jest" : " workspace:*" ,
27- "chalk" : " ^4.0.0" ,
2827 "graceful-fs" : " ^4.2.9" ,
28+ "picocolors" : " ^1.0.1" ,
2929 "slash" : " ^3.0.0"
3030 },
3131 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import {
1313 transformSync as babelTransform ,
1414 transformAsync as babelTransformAsync ,
1515} from '@babel/core' ;
16- import chalk = require( 'chalk' ) ;
1716import * as fs from 'graceful-fs' ;
17+ import picocolors = require( 'picocolors' ) ;
1818import slash = require( 'slash' ) ;
1919import type {
2020 TransformOptions as JestTransformOptions ,
@@ -38,9 +38,9 @@ function assertLoadedBabelConfig(
3838) : asserts babelConfig {
3939 if ( ! babelConfig ) {
4040 throw new Error (
41- `babel-jest: Babel ignores ${ chalk . bold (
41+ `babel-jest: Babel ignores ${ picocolors . bold (
4242 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 (
4444 'transformIgnorePatterns' ,
4545 ) } as well.`,
4646 ) ;
You can’t perform that action at this time.
0 commit comments