Comments (3)
Yeah, because the current vitest output files don't have enough information to differentiate the test cases with the same names. Maybe this can be fixed in the future when this plugin switches to use vitest server. I'll make a patch to let the plugin try to resolve the tests - which will probably go wrong when testing the async functions - while raising warnings.
from vscode.
Oh, I found that Jest test results include the information I need to deduce the concrete test cases. That format makes more sense. Since vitest is obeying jest interfaces to maximize compatibility, I'll make a PR to vitest.
from vscode.
Fixed in v0.1.11. You also need to upgrade vitest to v0.8.0 because the JSON output format is changed.
Related PR vitest-dev/vitest#1034
from vscode.
Related Issues (20)
- vitest version not detected with nvm and pnpm HOT 1
- Debugger command missing vitest command HOT 4
- Publish updates to Open VSX Registry HOT 1
- Vitest version = undefined HOT 13
- Incorrect path in debug mode
- commandLine setting ignored HOT 3
- Automatically open browser when running tests HOT 2
- tests spinning forever and output shows test not found HOT 6
- ignores get .env.local variables HOT 2
- Running vitest from status bar changes workspace setting `"testing.automaticallyOpenPeekView": "never"` HOT 2
- Test name should be wrapped in quotes for mac HOT 1
- Support `vitest.rootPath` option HOT 2
- Bug "NaN%, 2 skipped" HOT 1
- Since vitest 0.30 : SyntaxError: Cannot use import statement outside a module when running tests HOT 5
- Test should NOT be launched in Source Control Tree View
- server.https setting breaks functionality HOT 1
- Bug: first run error HOT 1
- Does not support vitest 0.29 or newer on Windows HOT 4
- Slows everything down HOT 1
- Doesn't support creating `test`s with `forEach` loop HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode.