From c505a0f5dccd120d97926f6ff5bbe0becf783aeb Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Thu, 20 Apr 2023 01:47:31 -0700 Subject: Add UPDATE_EXPECT envvar to update tests (#748) --- tools/test-helper/package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tools/test-helper/package.json') 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" } ] -- cgit v1.2.3