Guillaume – (p)repair
Testing a Nuxt application with different profiles
Here is the full error message:
And if I comment the
// extends: true, // Inherits from global config
of my second workspace ('User Tests
), it works.
Well, it my tests for that workspace will not work because the environment is not setup to 'nuxt'
etc…
Is there a way within defineVitestConfig
from @nuxt/test-utils/config
to ensure 2 workspace
will run in the same nuxt
environment (not trying to create another which conflics), while keeping a custom setupFile
for specific needs on certain tests?8 replies