🧪 Nuxt Test Utils
Nuxt offers first-class support for e2e and unit testing of your Nuxt applications. @nuxt/test-utils
currently contains e2e test utilities allowing you to test your app in production/development environments, and nuxt-vitest
is planned to be merged to provide unit testing capabilities.
Nuxt Test Utils is currently powering the tests we use on Nuxt itself, as well as tests used throughout the module ecosystem.
You can find out more about how to use Nuxt Test Utils: