Closed fkworld closed 1 month ago
Related to #5722
Run
npx vitest run --coverage --coverage.reporter=text
If test fail, you will get coverage/.tmp/ folder.
coverage/.tmp/
https://stackblitz.com/edit/vitest-dev-vitest-qhzlfu?file=test%2Fbasic.test.ts
System: OS: macOS 15.0 CPU: (8) arm64 Apple M1 Pro Memory: 1.78 GB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.19.0 - /usr/local/bin/node npm: 10.8.3 - /usr/local/bin/npm pnpm: 9.10.0 - /usr/local/bin/pnpm Browsers: Safari: 18.0
npm
I solved this problem by adding the option "reportOnFailure: true".
But I don't think this is the final way.
Describe the bug
Related to #5722
Run
If test fail, you will get
coverage/.tmp/
folder.Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-qhzlfu?file=test%2Fbasic.test.ts
System Info
Used Package Manager
npm
Validations