summaryrefslogtreecommitdiff
path: root/tools/test-helper/package.json
diff options
context:
space:
mode:
authorAlex Saveau <saveau.alexandre@gmail.com>2023-04-20 01:47:31 -0700
committerGitHub <noreply@github.com>2023-04-20 10:47:31 +0200
commitc505a0f5dccd120d97926f6ff5bbe0becf783aeb (patch)
treec9b57b5e6e7989bf37c13d9c35cd882da3f4e8b3 /tools/test-helper/package.json
parentf16ac4d258bd0981506d01456bd5f43079e00fa5 (diff)
Add UPDATE_EXPECT envvar to update tests (#748)
Diffstat (limited to 'tools/test-helper/package.json')
-rw-r--r--tools/test-helper/package.json14
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"
}
]