-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent coverage reporting between test runs #371
Comments
@Monkatraz maybe it's of interest to you |
@wtchnm This should be fixed with Vitest v0.2.0 |
@Demivan it's fixed now. Thanks! |
chaii3
pushed a commit
to chaii3/vitest
that referenced
this issue
May 13, 2022
* feat(useFetch): add beforeFetch option * beforeFetch now accepts a normal function and provides abort parameter * unify beforeFetch args * beforeFetch return parameters are now optional * Update packages/core/useFetch/index.ts Co-authored-by: Anthony Fu <[email protected]> * fix errors * added in way to cancel requests * isCanceled doesn't need to be a ref * Update packages/core/useFetch/index.ts Co-authored-by: Anthony Fu <[email protected]> * converted Context from type to interface and renamed to BeforeFetchContext Co-authored-by: Anthony Fu <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
First test run:
Second test run:
Third test run:
Reproduction
pnpx -y degit wtchnm/Vitamin#feat/vitest vitest-coverage-bug && cd vitest-coverage-bug
pnpm install
pnpm test:ci
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: