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 @@ -14,7 +14,7 @@ import {
1414 transformAsync as babelTransformAsync ,
1515} from '@babel/core' ;
1616import * as fs from 'graceful-fs' ;
17- import picocolors = require ( 'picocolors' ) ;
17+ import * as pico from '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 ${ picocolors . bold (
41+ `babel-jest: Babel ignores ${ pico . bold (
4242 slash ( path . relative ( cwd , filename ) ) ,
43- ) } - make sure to include the file in Jest's ${ picocolors . bold (
43+ ) } - make sure to include the file in Jest's ${ pico . bold (
4444 'transformIgnorePatterns' ,
4545 ) } as well.`,
4646 ) ;
Original file line number Diff line number Diff line change @@ -13016,7 +13016,6 @@ __metadata:
1301613016 "@types/graceful-fs": ^4.1.3
1301713017 "@types/node": "*"
1301813018 "@types/stack-utils": ^2.0.0
13019- chalk: ^4.0.0
1302013019 co: ^4.6.0
1302113020 dedent: ^1.0.0
1302213021 execa: ^5.0.0
@@ -13029,6 +13028,7 @@ __metadata:
1302913028 jest-snapshot: "workspace:*"
1303013029 jest-util: "workspace:*"
1303113030 p-limit: ^3.1.0
13031+ picocolors: ^1.0.1
1303213032 pretty-format: "workspace:*"
1303313033 pure-rand: ^6.0.0
1303413034 slash: ^3.0.0
You can’t perform that action at this time.
0 commit comments