mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
snapshot unit tests
This commit is contained in:
parent
7d88532aaf
commit
c9cd3c485f
@ -51,6 +51,7 @@ The following commands are available:
|
|||||||
| `npm run test:lint:remark` | Run linter remark |
|
| `npm run test:lint:remark` | Run linter remark |
|
||||||
| `npm run test:lint:style` | Run linter stylelint |
|
| `npm run test:lint:style` | Run linter stylelint |
|
||||||
| `npm run test:unit` | Run all unit tests and generate coverage report |
|
| `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 run test:unit:dev` | Run all unit tests in watch mode |
|
||||||
| `npm test` | Run all tests & linters |
|
| `npm test` | Run all tests & linters |
|
||||||
| **Storybook** | |
|
| **Storybook** | |
|
||||||
|
|||||||
@ -52,6 +52,7 @@
|
|||||||
"test:lint:remark": "remark . --quiet --frail",
|
"test:lint:remark": "remark . --quiet --frail",
|
||||||
"test:lint:style": "stylelint --max-warnings 0 --ignore-path .gitignore \"**/*.{css,scss,vue,vuex}\"",
|
"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": "npm run test:unit:dev -- run --coverage",
|
||||||
|
"test:unit:update": "npm run test:unit:dev -- run --coverage -u",
|
||||||
"test:unit:dev": "vitest",
|
"test:unit:dev": "vitest",
|
||||||
"test": "npm run test:lint && npm run test:unit",
|
"test": "npm run test:lint && npm run test:unit",
|
||||||
"docs:dev": "vuepress dev .",
|
"docs:dev": "vuepress dev .",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user