jest-chrome
jest-chrome copied to clipboard
Jest version 29 is not supported
Google search terms
jest-chrome is not work for jest 29
Describe the bug
I have jest 29.3.1 and i try to use jest-chrome to test my browser extension https://github.com/translate-tools/linguist
But i can't even install jest-chrome, because its packages.json
requires a jest version jest@"^26.0.1 || ^27.0.0"
How do we reproduce?
- Run
npm i -D [email protected]
- Run
npm i -D jest-chrome
Expected behavior
Packages installed successfully
Actual behavior
We got an error about incompatible versions
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/jest
npm ERR! dev jest@"^29.3.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer jest@"^26.0.1 || ^27.0.0" from [email protected]
npm ERR! node_modules/jest-chrome
npm ERR! dev jest-chrome@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Screenshots
Please complete the following information:
- Library Version: 0.8.0
- Operating System: ubuntu
- Browser: firefox
- Node Version: v14.18.1