carbon-design-system / carbon-components-svelte

Svelte implementation of the Carbon Design System
https://svelte.carbondesignsystem.com
Apache License 2.0
2.71k stars 262 forks source link

Issue Running Tests #603

Open deivinsontejeda opened 3 years ago

deivinsontejeda commented 3 years ago

I have this issue when run test using Jest and carbon... Anyone facing similar problem?

ericc1103 commented 3 years ago

I am having a similar issue when I test a component that uses carbon-components-svelte. The one suggestion from stackoverflow.com is to use a slot.. but I would rather find out simpler alternative.

adalsantana commented 3 years ago

I am also having a similar issue. I usually get to this point after I add carbon pictograms svelte and a few other carbon packages to the transform ignore pattern in jest.config.js

PClmnt commented 2 years ago

bumping this, same issue

PClmnt commented 2 years ago

Created a repo to demonstrate: https://github.com/PClmnt/svelte-testing-library-issue