Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support @testing-library/react v13.x #14

Open
apaatsio opened this issue Jun 14, 2022 · 0 comments
Open

Support @testing-library/react v13.x #14

apaatsio opened this issue Jun 14, 2022 · 0 comments

Comments

@apaatsio
Copy link

slate-test-utils@1.3.2 depends on @testing-library/react v12. Trying to install slate-test-utils with @testing-library/react v13 fails.

$ npm i --save-dev slate-test-utils                                                                                                                     
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: my-project@0.1.0
npm ERR! Found: @testing-library/react@13.3.0
npm ERR! node_modules/@testing-library/react
npm ERR!   dev @testing-library/react@"13.3.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @testing-library/react@"^12.1.2" from slate-test-utils@1.3.2
npm ERR! node_modules/slate-test-utils
npm ERR!   dev slate-test-utils@"*" 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.
  • slate-test-utils: 1.3.2
  • testing-library/react: 13.3.0
  • node: 14.18.2
  • npm: 7.24.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant