-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Can not write unit test if i import this library. I use jest, testing-library and styled-components #53
Comments
I have the same problem!!! |
Hi, Also, you should also be listed as a part of your project in your tsconfig.json See if it fix the issue. |
We will look into this. Thanks for opening the issue. |
We use cypress for testing maybe your jest tests are matching to that .test files name pattern and this causes the error. I wiill check if it's possible to change our name pattern to not confuse your test setup |
@cfuisat your issue has been fixed by the latest release 0.1.57. It was just a wrong path to the type declarations :) .. But I think the issue of @hhtrung55 and @VuCoKhoi is regarding to this cypress-io/cypress#22059 . @hhtrung55 I have no jest running. Can you please try this solution and tell me if it works? cypress-io/cypress#22059 (comment) A PR would be great 👍 |
The text was updated successfully, but these errors were encountered: