Skip to content

Commit bfb4977

Browse files
authored
fix: only who update snapshot for jest test suite provider fixes #1207 (#1227)
* fix: only who update snapshot for jest test suite provider fixes #1207 * fix lint error
1 parent bf96605 commit bfb4977

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,8 @@
523523
"when": "testId in jest.workspaceRoot"
524524
},
525525
{
526-
"command": "io.orta.jest.test-item.update-snapshot"
526+
"command": "io.orta.jest.test-item.update-snapshot",
527+
"when": "controllerId =~ /^orta.vscode-jest/"
527528
}
528529
],
529530
"testing/item/gutter": [

0 commit comments

Comments
 (0)