-
Notifications
You must be signed in to change notification settings - Fork 310
Closed
Labels
Description
Environment
vscode-jest version:6.2.0node -v:v20.9.0npm -voryarn --version:v10.1.0npm ls jestornpm ls react-scripts(if you haven’t ejected):
[email protected] /Users/andrewheumann/Dev/pringle
├─┬ @vue/[email protected]
│ └── [email protected] deduped
├── [email protected]
└─┬ [email protected]
└── [email protected] deduped
- your vscode-jest settings if customized:
- jest.jestCommandLine? n/a
- jest.autoRun? n/a
- anything else that you think might be relevant? n/a
- Operating system: Mac OS 14.2.1 (23C71)
Prerequisite
- are you able to run jest test from the command line? yes
- how do you run your tests from the command line? (for example:
npm run testornode_modules/.bin/jest)npm run test
Steps to Reproduce
Example Repo https://github.com/andrewheumann/jest-steals-focus
In this bare repository, on every file save, "Test Results" steals focus in the VS code panel. I want my terminal to stay front and center.
Screen.Recording.2024-02-12.at.3.43.16.PM.mp4
In another repo, it's stealing focus on every git action.
Even if I explicitly close the Test Results panel tab, it re-opens itself on every file save or git action.
dz-andrej-zecevic, kk2491, collin-duncan-lmnd, Edward-Phillips, hugoburguete and 16 more