jest-chrome icon indicating copy to clipboard operation
jest-chrome copied to clipboard

Jest version 29 is not supported

Open vitonsky opened this issue 2 years ago • 8 comments

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?

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

Additional context

vitonsky avatar Nov 19 '22 15:11 vitonsky