Open MickL opened 7 months ago
------------------------------ - Operating System: Darwin - Node Version: v21.6.1 - Nuxt Version: 3.11.0 - CLI Version: 3.10.1 - Nitro Version: 2.9.4 - Package Manager: bun@1.0.29 - Builder: - - User Config: - - Runtime Modules: - - Build Modules: - ------------------------------
https://stackblitz.com/edit/github-krtpdn?file=test%2Fsomething.spec.ts
Using console.log() within an e2e test doesnt output the test in stdout as well as in devtools "Console" tab. Only seems to work for beforeAll().
console.log()
Try:
bun run test -> No logs in console
bun run test
bun run dev, then open devtools -> Vitest
bun run dev
No logs in tab "Console"
No response
Start a new pull request in StackBlitz Codeflow.
Environment
Reproduction
https://stackblitz.com/edit/github-krtpdn?file=test%2Fsomething.spec.ts
Describe the bug
Using
console.log()
within an e2e test doesnt output the test in stdout as well as in devtools "Console" tab. Only seems to work for beforeAll().Try:
bun run test
-> No logs in consolebun run dev
, then open devtools -> VitestLogs
No response