Console error: Error: Could not load img #2201
Replies: 2 comments
-
That's really hard to say without more context. Maybe you can check if all your dependencies are up to date as a first step. If that doesn't help, then try to provide us a small repro online using https://stackblitz.com/github/vuejs/create-vue-templates/tree/main/typescript-vitest?file=src%2Fcomponents%2F__tests__%2FHelloWorld.spec.ts and we'll take a look |
Beta Was this translation helpful? Give feedback.
0 replies
-
After i reinstall some dependencies, problem was solved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, i am currently learning how unit testing works, have some issues. Tests sims like running fine, but in the console got an error like this in every test file where image exist in component:
I don't understand what is trigger this error, also made an fresh vue app with same spec, run test in there and there's no such an issues some how. I also check vitest.config.ts and compare it to fresh project. Sims like every thing is same basically.. Any tips will be highly appreciate.
Beta Was this translation helpful? Give feedback.
All reactions