-
-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Labels
Description
Describe the bug
When using test.each, running that group of tests with Run Test hangs.
Reproduction
it.each([{ url: 'not a URL', expected: 'Value must be a URL: url' }])(
'URL $url should fail validation',
async ({ url, expected }) => {
// Replacing actual test with example code - also only including a single case
expect(url).toEqual(expected);
}
);Right-clicking on the 🟢 and selecting Run Test (or doing that on the describe block) just shows the loading indicator in the result window indefinitely.
This same test runs fine with vitest on the command line.
Output
(none)Extension Version
1.16.0
Vitest Version
3.0.7
Validations
- Check that you are using the latest version of the extension
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.