From c9cd3c485fe6e97fc5c8fd1396fd7290d943c61f Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 9 Jan 2024 22:40:23 +0100 Subject: [PATCH] snapshot unit tests --- README.md | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index e4cf24c..252cc00 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ The following commands are available: | `npm run test:lint:remark` | Run linter remark | | `npm run test:lint:style` | Run linter stylelint | | `npm run test:unit` | Run all unit tests and generate coverage report | +| `npm run test:unit:update` | Run unit tests, coverage and update snapshots | | `npm run test:unit:dev` | Run all unit tests in watch mode | | `npm test` | Run all tests & linters | | **Storybook** | | diff --git a/package.json b/package.json index c0d5a6c..1dd0f95 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "test:lint:remark": "remark . --quiet --frail", "test:lint:style": "stylelint --max-warnings 0 --ignore-path .gitignore \"**/*.{css,scss,vue,vuex}\"", "test:unit": "npm run test:unit:dev -- run --coverage", + "test:unit:update": "npm run test:unit:dev -- run --coverage -u", "test:unit:dev": "vitest", "test": "npm run test:lint && npm run test:unit", "docs:dev": "vuepress dev .",