Adding `/pages/index.vue` breaks e2e testing
Reproduction: https://stackblitz.com/edit/github-gu1sj1-xq3xf8?file=tests%2Fe2e%2Fbasic.e2e.test.ts
A minimal repo with just vitest and @nuxt/test-utils, an app.vue, and a
pages/index.vue
fails with error:
Nathan Chase
StackBlitz
Nuxt - Starter (forked) - StackBlitz
Create a new Nuxt project, module, layer or start from a theme with our collection of starters.
1 Reply
Oh, I found the culprit. The path of
rootDir
has to be an absolute path, not a relative path.