diff --git a/webapp/package.json b/webapp/package.json index fdd8bf695f..fd0011a653 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -11,6 +11,7 @@ "run": "node scripts/run.js", "dev-server": "node scripts/dev-server.js", "test": "npm run test --workspaces --if-present", + "test:updatesnapshot": "npm run test:updatesnapshot --workspaces --if-present", "test-ci": "npm run test-ci --workspaces --if-present", "check": "npm run check --workspaces --if-present", "fix": "npm run fix --workspaces --if-present", diff --git a/webapp/platform/components/package.json b/webapp/platform/components/package.json index a9b0e09a7a..859b4b6509 100644 --- a/webapp/platform/components/package.json +++ b/webapp/platform/components/package.json @@ -9,6 +9,7 @@ "build": "rollup -c", "run": "rollup -c --watch", "test": "cross-env TZ=Etc/UTC jest", + "test:updatesnapshot": "cross-env TZ=Etc/UTC jest --updateSnapshot", "test-ci": "cross-env TZ=Etc/UTC jest", "clean": "rm -rf dist node_modules tsconfig.tsbuildinfo .rollup.cache" },