vitest icon indicating copy to clipboard operation
vitest copied to clipboard

Next generation testing framework powered by Vite.

Results 736 vitest issues
Sort by recently updated
recently updated
newest added

### Describe the bug Since I upgraded Vite to 3.0.4 version, and Vitest to 0.21.1, the launching of my tests is really long (The setup phase, not the tests themselves)...

need reproduction

fix: #1839 This is because the sourceMap is different and lead to `c8`'s different logic, that one throw error and another one load success.

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/vitest-dev/vitest). ## Awaiting Schedule The following updates are...

### Describe the bug Hi, updating vitest from `0.16` to `0.21.1` I found out the following `yarn vitest --coverage` with an `html` reporter will throw an error when the component...

help wanted
coverage

### Clear and concise description of the problem If you run vite-node in watch mode (e.g. `vite-node -w app.ts`), any time your code crashes (e.g. saved with invalid syntax) you...

enhancement
pr welcome

### Describe the bug My use case is trying to mock a function returning a [`ResultAsync` object from the `neverthrow` library](https://github.com/supermacro/neverthrow#asynchronous-api-resultasync). The `ResultAsync` object is an implementation of a `PromiseLike`...

### Clear and concise description of the problem As a developer using Vitest I want to have the option to filter test by filename in watch mode so that I...

enhancement
good first issue

### Describe the bug did not report the call stack and point out which file test case line cause the error ### Reproduction ![image](https://user-images.githubusercontent.com/39197136/183829464-f8b29f72-8a89-4306-94d9-c4fc3e0b51cc.png) ### System Info ```shell System: OS:...

need reproduction

### Describe the bug Currently in junit reporter, when `task.result.duration`'s value is 0, the duration got undefined as fallback value by JavaScript's implicit conversion, which results in that generated report...

bug
pr welcome

Closes #1252 Documentation of the istanbul packages is not perfect. I had to do some analyzing of `jest` and `nyc` to get things working. - https://github.com/facebook/jest/blob/main/packages/jest-reporters/src/CoverageReporter.ts - https://github.com/istanbuljs/nyc/tree/master/lib Creates common...