-
Notifications
You must be signed in to change notification settings - Fork 91
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
Adding ?sprite to the module doesn't work #38
Comments
Hi @ahmadalfy This probably comes from jest not knowing our webpack config (where we define these resource queries). I just googled a bit and there are still open issues and pull requests for jest to solve this issue (looks like a lot of devs have this problem). |
@cyrilwanner Thank you, closing it as it is not related here and will check your suggestion and update you. Thanks again |
Hello,
My ESLint is complaining when I try to import a file as an svg sprite as follow:
I added comments to ignore the error and it worked. When I tried to test the component with jest it failed to import the file.
The text was updated successfully, but these errors were encountered: