bit
bit copied to clipboard
In default React env test doesn't work
Describe the bug
When using the default React environment for component, I can't run tests because there is no @testing-library/react.
Steps to Reproduce
- bit create react some-cmp
- bit install && bit compile
- bit test
Expected Behavior
Tests run successfully.
Screenshots, exceptions and logs
Specifications
- Bit version: 0.0.780
- Node version: v16.15.1
- Platform: MacOs
for harmony workspace
- relevant env
teambit.react/react
please run bit install @testing-library/react@^12 --type peer
We are working to solve it