@nuxt/test-utils . One thing we’re struggling with conceptually is that these tests boot the full Nuxt runtime — auto-imports work (which is great), but plugins run. I'm guessing middleware/modules do as well?Using Vitest projects, you have fine-grained control over which tests run in which environment:
Unit tests: Place regular unit tests in test/unit/ - these run in a Node environment for speed
Nuxt tests: Place tests that rely on the Nuxt runtime environment in test/nuxt/ - these will run within a Nuxt runtime environment
@nuxt/test-utils, with plugins enabled (and mocked/guarded as needed)?