Skip to content

Commit

Permalink
chore: collapse all tests commands only show up within open project (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
CristiCanizales authored Jul 22, 2024
1 parent 2f88e43 commit 4d1ecce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/salesforcedx-vscode-apex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@
{
"command": "sf.test.view.refresh",
"when": "false"
},
{
"command": "sf.test.view.collapseAll",
"when": "sf:project_opened"
}
]
},
Expand Down
4 changes: 4 additions & 0 deletions packages/salesforcedx-vscode-lwc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,10 @@
"command": "sf.lightning.lwc.test.runAllTests",
"when": "sf:project_opened || sf:internal_dev"
},
{
"command": "sf.lightning.lwc.test.view.collapseAll",
"when": "sf:project_opened"
},
{
"command": "sf.lightning.lwc.test.refreshTestExplorer",
"when": "sf:project_opened || sf:internal_dev"
Expand Down

0 comments on commit 4d1ecce

Please sign in to comment.