diff options
| author | Alex Saveau <saveau.alexandre@gmail.com> | 2023-04-20 01:47:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-20 10:47:31 +0200 |
| commit | c505a0f5dccd120d97926f6ff5bbe0becf783aeb (patch) | |
| tree | c9b57b5e6e7989bf37c13d9c35cd882da3f4e8b3 /tools/test-helper/package.json | |
| parent | f16ac4d258bd0981506d01456bd5f43079e00fa5 (diff) | |
Add UPDATE_EXPECT envvar to update tests (#748)
Diffstat (limited to 'tools/test-helper/package.json')
| -rw-r--r-- | tools/test-helper/package.json | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/test-helper/package.json b/tools/test-helper/package.json index 157df0cb..d2578ab9 100644 --- a/tools/test-helper/package.json +++ b/tools/test-helper/package.json @@ -1,7 +1,7 @@ { "name": "typst-test-helper", "displayName": "Typst Test Helper", - "description": "Helps to run, compare and approve Typst tests.", + "description": "Helps to run, compare and update Typst tests.", "version": "0.0.1", "engines": { "vscode": "^1.53.0" @@ -13,7 +13,7 @@ "onCommand:ShortcutMenuBar.testOpen", "onCommand:ShortcutMenuBar.testRefresh", "onCommand:ShortcutMenuBar.testRerun", - "onCommand:ShortcutMenuBar.testApprove" + "onCommand:ShortcutMenuBar.testUpdate" ], "main": "./extension.js", "contributes": { @@ -46,12 +46,12 @@ } }, { - "command": "ShortcutMenuBar.testApprove", - "title": "Approve output", + "command": "ShortcutMenuBar.testUpdate", + "title": "Update reference image", "category": "ShortcutMenuBar", "icon": { - "light": "images/approve-light.svg", - "dark": "images/approve-dark.svg" + "light": "images/update-light.svg", + "dark": "images/update-dark.svg" } } ], @@ -74,7 +74,7 @@ }, { "when": "resourceExtname == .typ && resourcePath =~ /.*tests.*/", - "command": "ShortcutMenuBar.testApprove", + "command": "ShortcutMenuBar.testUpdate", "group": "navigation@3" } ] |
