You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using swiper in React, you can npm run start, but when running unit tests, error "Cannot find module 'swiper/css'"
The unit tests used react-testing-library. Jest has configured moduleNameMapper as "identity-obj-proxy".
Besides reducing the swiper version, is there any way I can solve it? thank you!
Check that this is really a bug
Reproduction link
https://swiperjs.com/
Bug description
Using swiper in React, you can npm run start, but when running unit tests, error "Cannot find module 'swiper/css'"
The unit tests used react-testing-library. Jest has configured moduleNameMapper as "identity-obj-proxy".
Besides reducing the swiper version, is there any way I can solve it? thank you!
Expected Behavior
No response
Actual Behavior
No response
Swiper version
8.2.2
Platform/Target and Browser Versions
Chrome
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: