-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
XXX.spec.js import sweetalert2 seem there are some error? #6078
Comments
Can you set up a repo we can pull down to see the error? |
@SimenB Thanks for you reply
teamAmerica.test.js fourth line
You will get the error ,Thank you very much |
This is jsdom/jsdom#2026. Nothing we can do in jest. You could mock out the stylesheet though, is it doesn't matter for your purposes in Jest. If you have further questions, we recommend using StackOverflow or our discord channel for questions. |
Thanks, But can I hide these errors? It makes me nervous... |
#5227 mentioned how prevent JSDOM errors by @kentcdodds using
But errors still appearing on the console |
Please ask questions on stackoverflow or discord, this issue tracker is not a help forum |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I have run this repo
jest config in package.json
the file fileMock.js
and .babelrc
test file is
teamAmerica.test.js
The text was updated successfully, but these errors were encountered: