Unable to resolve file in assets/public folder during testing #1086
Unanswered
gretchelin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Nuxt3 + Layer, with
nuxt-test-utils
andtesting-library/vue
set up. When I run the test, it keeps failing with error below:Other test that doesn't have assets referenced (be it in public dir or assets dir), runs correctly with the same test setup.
Any insight on what might be missing? I've read the docs and there doesn't seem any special mention regarding assets nor layers, so I'm not sure if I set things up correctly.
Additional Info:
My project dir is like this:
I have a component located in
ui/components/atoms/avatar/index.vue
which vue template contains this:And a simple test file:
My vitest config at root of project:
Beta Was this translation helpful? Give feedback.
All reactions