explore-frontend / vscode-vitest-runner

Run your testcase by vitest.
https://marketplace.visualstudio.com/items?itemName=kingwl.vscode-vitest-runner
MIT License
23 stars 20 forks source link

fix: provide file path to avoid seeking skipped files #13

Open jordems opened 8 months ago

jordems commented 8 months ago

Description

Adds the path to the npx vitest -t <testPattern> <path>. The benefit of this is now when a project/library has many different test files, it will skip seeking through all the tests to skip. And instead just look at the file in question.

Before: https://www.loom.com/share/24bee8d6dc8a4a0a8b9fd5ddb2d1beef

After: https://www.loom.com/share/7e49382b5faf47f8a13115bb0039631a