Skip to content

Commit

Permalink
Report jest coverage.
Browse files Browse the repository at this point in the history
Add report to .gitignore.
Please note, it only reports on touched files.

Partially addreses #864
  • Loading branch information
tomalec committed Aug 3, 2021
1 parent 5f6e2c9 commit 9dde190
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ build-module
build-style
languages/*
!languages/README.md
coverage

# Directories/files that may appear in your environment
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"docker:down": "npx wc-e2e docker:down",
"test:e2e": "npx wc-e2e test:e2e",
"test:e2e-dev": "npx wc-e2e test:e2e-dev",
"test-unit": "wp-scripts test-unit-js",
"test-unit": "wp-scripts test-unit-js --coverage",
"test-unit:watch": "npm run test-unit -- --watch",
"test-proxy": "node ./tests/proxy"
},
Expand Down

0 comments on commit 9dde190

Please sign in to comment.