Skip to content

Commit 730ac5b

Browse files
chore: add test:update and test:update:warn npm scripts
1 parent 02ac734 commit 730ac5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"scripts": {
1111
"test": "npm run test:warn -- -- no-rollup-warnings",
1212
"test:warn": "del-cli tests/{coverage,.nyc_output} && nyc --reporter=lcov ava tests/*.test.js --verbose --fail-fast",
13+
"test:update": "npm run test:warn -- --update-snapshots -- no-rollup-warnings",
14+
"test:update:warn": "npm run test:warn -- --update-snapshots",
1315
"coverage": "codecov",
1416
"clean": "del-cli dist tests/{coverage,.nyc_output}",
1517
"build": "del-cli dist && rollup -c",

0 commit comments

Comments
 (0)