Skip to content

Commit

Permalink
docs: add a note about extension activation
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Mar 20, 2024
1 parent 7308127 commit da76848
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ See <https://vitest.dev/guide/workspace.html> for monorepo support.
### How can I use this extension when tests are under a sub directory?

You can use VS Code command `add folder to workspace` to add the sub directory. The extension should work fine.

### Why is the extension not activated?

The extension looks for [Vitest config](https://vitest.dev/config/file.html) or [Vitest workspace config](https://vitest.dev/guide/workspace.html) to establish the connection with Vitest. If you have several config files, it's recommended to combine them in a single [Vitest workspace](https://vitest.dev/guide/workspace.html) for a better CPU performance (only have a single Vitest instance instead of several).

0 comments on commit da76848

Please sign in to comment.