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

npm run test有问题 #6

Open
landaozhu opened this issue Oct 14, 2021 · 0 comments
Open

npm run test有问题 #6

landaozhu opened this issue Oct 14, 2021 · 0 comments

Comments

@landaozhu
Copy link

FAIL test/component/TodoList.spec.js
● Test suite failed to run

[email protected]+ and react-test-renderer are implicit dependencies when using [email protected]+ with enzyme. Please add the appropriate version to your devDependencies. See https://github.com/airbnb/enzyme#installation
  
  at Object.<anonymous> (node_modules/enzyme/build/react-compat.js:142:13)
  at Object.<anonymous> (node_modules/enzyme/build/Utils.js:65:20)
  at Object.<anonymous> (node_modules/enzyme/build/MountedTraversal.js:36:14)
  at Object.<anonymous> (node_modules/enzyme/build/ReactWrapper.js:35:25)
  at Object.<anonymous> (node_modules/enzyme/build/index.js:6:21)
  at Object.<anonymous> (__test__/component/TodoList.spec.js:3:15)
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