Replies: 1 comment
-
Ok, I found a easy solution. Just add the swiper element registration to test.ts as well. |
Beta Was this translation helpful? Give feedback.
0 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.
-
To get my angular jasmine tests working with Swiper, I would need to explicitly register the Swiper elements in each test.
Is there a way to perform the registration globally just once?
Registration in the main.ts had no effect on the tests.
Beta Was this translation helpful? Give feedback.
All reactions