Skip to content

Commit

Permalink
docs: add a note on how to hide the test results panel
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed May 21, 2024
1 parent 49d8e83 commit e8be2db
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,14 @@ These options are resolved relative to the [workspace file](https://code.visuals
### How can I use it in monorepo?

See <https://vitest.dev/guide/workspace.html> for monorepo support.

### How to hide Test Results view when running tests

You can change the behaviour of testing view by modifying `testing.openTesting` option:

- `neverOpen` will never open the testing view
- `openOnTestStart` (default) opens the test results view when test starts running
- `openOnTestFailure` opens the test results view if at least one of test fails
- `openExplorerOnTestStart` will open the test tree view when tests starts

This is a vscode's built-in option and will control every plugin.

0 comments on commit e8be2db

Please sign in to comment.