Environment
- Operating System:
Darwin
- Node Version:
v18.16.0
- Nuxt Version:
3.5.2
- Nitro Version:
2.4.1
- Package Manager:
yarn@1.22.17
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Reproduction
https://stackblitz.com/edit/github-kp3tnj?file=test%2Fmyhello.test.ts
Describe the bug
When setup() is called at the beginning of a vitest test file (as described in the docs https://nuxt.com/docs/getting-started/testing), console.log() no longer displays text on the console during the test run.
When setup() is commented out, console.log() works as expected.
Additional context
No response
Logs
No response
Environment
Darwinv18.16.03.5.22.4.1yarn@1.22.17vite---Reproduction
https://stackblitz.com/edit/github-kp3tnj?file=test%2Fmyhello.test.ts
Describe the bug
When setup() is called at the beginning of a vitest test file (as described in the docs https://nuxt.com/docs/getting-started/testing), console.log() no longer displays text on the console during the test run.
When setup() is commented out, console.log() works as expected.
Additional context
No response
Logs
No response