Skip to content

Commit eb76e66

Browse files
committed
chore: add "test:coverage" script and ignore coverage report in git
HCRC-186.
1 parent da90a99 commit eb76e66

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ react-helsinki-headless-cms.iml
88
dist
99
storybook-static
1010

11-
.env
11+
.env
12+
coverage

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"lint-fix": "yarn eslint \"src/**/*.{ts,tsx}\" --fix && yarn prettier ./src -w",
1414
"test": "jest",
1515
"test-storybook": "test-storybook",
16+
"test:coverage": "jest --coverage",
1617
"build": "rollup -c --bundleConfigAsCjs",
1718
"docker:dev": "cross-env DOCKER_TARGET=development docker compose up",
1819
"docker:prod": "cross-env DOCKER_TARGET=production docker compose up",

0 commit comments

Comments
 (0)