diff options
Diffstat (limited to 'tools/test-helper/package.json')
| -rw-r--r-- | tools/test-helper/package.json | 37 |
1 files changed, 26 insertions, 11 deletions
diff --git a/tools/test-helper/package.json b/tools/test-helper/package.json index 55065838..157df0cb 100644 --- a/tools/test-helper/package.json +++ b/tools/test-helper/package.json @@ -10,15 +10,16 @@ "Other" ], "activationEvents": [ - "onCommand:ShortcutMenuBar.openTestOutput", - "onCommand:ShortcutMenuBar.approveTestOutput", - "onCommand:ShortcutMenuBar.refreshTestOutput" + "onCommand:ShortcutMenuBar.testOpen", + "onCommand:ShortcutMenuBar.testRefresh", + "onCommand:ShortcutMenuBar.testRerun", + "onCommand:ShortcutMenuBar.testApprove" ], "main": "./extension.js", "contributes": { "commands": [ { - "command": "ShortcutMenuBar.openTestOutput", + "command": "ShortcutMenuBar.testOpen", "title": "Open test output", "category": "ShortcutMenuBar", "icon": { @@ -27,8 +28,8 @@ } }, { - "command": "ShortcutMenuBar.refreshTestOutput", - "title": "Refresh test output", + "command": "ShortcutMenuBar.testRefresh", + "title": "Refresh preview", "category": "ShortcutMenuBar", "icon": { "light": "images/refresh-light.svg", @@ -36,8 +37,17 @@ } }, { - "command": "ShortcutMenuBar.approveTestOutput", - "title": "Approve test output", + "command": "ShortcutMenuBar.testRerun", + "title": "Rerun test", + "category": "ShortcutMenuBar", + "icon": { + "light": "images/rerun-light.svg", + "dark": "images/rerun-dark.svg" + } + }, + { + "command": "ShortcutMenuBar.testApprove", + "title": "Approve output", "category": "ShortcutMenuBar", "icon": { "light": "images/approve-light.svg", @@ -49,17 +59,22 @@ "editor/title": [ { "when": "resourceExtname == .typ && resourcePath =~ /.*tests.*/", - "command": "ShortcutMenuBar.openTestOutput", + "command": "ShortcutMenuBar.testOpen", "group": "navigation@0" }, { "when": "resourceExtname == .typ && resourcePath =~ /.*tests.*/", - "command": "ShortcutMenuBar.refreshTestOutput", + "command": "ShortcutMenuBar.testRefresh", + "group": "navigation@1" + }, + { + "when": "resourceExtname == .typ && resourcePath =~ /.*tests.*/", + "command": "ShortcutMenuBar.testRerun", "group": "navigation@2" }, { "when": "resourceExtname == .typ && resourcePath =~ /.*tests.*/", - "command": "ShortcutMenuBar.approveTestOutput", + "command": "ShortcutMenuBar.testApprove", "group": "navigation@3" } ] |
