-
I have a monorepo with defined Vitest workspaces. In the configuration of a workspace, I define the What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
While export default defineConfig({
// [not here]
// dir: "src"
test: {
// [but here]
dir: 'src',
},
}); |
Beta Was this translation helpful? Give feedback.
-
The documentation page has a warning at the start: |
Beta Was this translation helpful? Give feedback.
While
root
is Vite option,dir
is Vitest option, so it should look like thishttps://stackblitz.com/edit/vitest-dev-vitest-wq8au2?file=vite.config.ts