-
Notifications
You must be signed in to change notification settings - Fork 309
Closed
Labels
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Open a project using vitest
- right click on test item
- "Update Snapshot button is displayed from jest"
Expected behavior
The Update Snapshot Button is only displayed for jest tests. It can be quite disturbing, if the button is accidently pressed, which activates the jest extension for the project.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- vscode-jest version:latest , default settings
Additional context
Will adding "when": "controllerId == 'jest'" to testing/item/gutter
and testing/item/context
fix the issue or is there a background why its not used yet?
I can open a PR, if the suggested fix is sufficient to resolve the issue.