Skip to content

Commit

Permalink
💡 add comment about Carousel location in code (#1373, #1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
SvSven committed Dec 9, 2022
1 parent f41a337 commit ce359fc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions web/pageComponents/shared/Carousel/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
/**
* This should ideally be in web/components/src/Carousel instead of in web/pageComponents/Carousel
* However, it would seem that the Swiper.js library and Jest do not get along nicely
* See: https://github.com/nolimits4web/swiper/discussions/4969
* I have tried some of the suggestions in that discussion without much success. Due to the structure of our code, using
* the transformIgnorePatterns causes other issues, since we are exporting all components from web/components/src/index.ts
* and we can't selectively ignore just the export line for the Carousel there
*/

export * from './Swiper'

0 comments on commit ce359fc

Please sign in to comment.