MockNuxtImport huge module graph on vitest #857
Unanswered
marcelobotega
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We have a big project here using layers and an internal component library (150+ components). When we use the helper
mockNuxtImport
our module graph on vitest explode. We only mock two composables, but the module graph is huge, vitest ui struggles to render everything.If I change the
mockNuxtImport
to avi.mock
we have a smaller module graph.My questions are:
mockNuxtImport
?Hope someone can help me with that.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions