Closed curtvict closed 9 months ago
Hi! Same problem here!
@curtvict Do you know any workaround until fix?
Adding babel-jest
locally to your package in devDependencies should clear it up until https://github.com/dilanx/craco/pull/532 is merged and released. cc: @dilanx
What's happening I upgraded from Storybook 7.5 to 7.6 where they dropped some dependencies. My test suite stopped running with a complaint from craco around a missing
babel-jest
dependency:Sure enough, craco depends on
babel-jest
:https://github.com/dilanx/craco/blob/main/packages/craco/src/lib/features/jest/create-jest-babel-transform.ts#L3
But it's not listed in craco's package.json.
What should happen craco should define its dependencies explicitly in it's package.
To reproduce Unsure
CRACO version 7.1.0
CRACO config
package.json
Additional information None