Replies: 3 comments 9 replies
-
check out my answer to the other question about testing swiper components, let me know if that fixes it: |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hey having the same issue have you fond a solution? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Also unable to run tests with this. React 18, Next.js 12, Swiper 8, Jest 27 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I am using next v11.1.2, swiper ^ 7.2.0.
Swiper works fine in the application itself, but when writing tests, Jest cannot find the component
import {Swiper, SwiperSlide} from 'swiper / react';
How to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions