Adds Jest Snapshot update command (https://github.com/woocommerce/woocommerce-admin/pull/741)
This commit is contained in:
parent
33cdba6945
commit
de92fd8ed5
|
@ -38,6 +38,7 @@
|
|||
"test:help": "wp-scripts test-unit-js --help",
|
||||
"test": "wp-scripts test-unit-js --config tests/js/jest.config.json",
|
||||
"test:watch": "npm run test -- --watch",
|
||||
"test:update-snapshots": "jest --updateSnapshot --config tests/js/jest.config.json",
|
||||
"docs": "node ./bin/generate-docs",
|
||||
"publish:check": "npm run build:packages && lerna updated",
|
||||
"publish:dev": "npm run build:packages && lerna publish --npm-tag next",
|
||||
|
|
Loading…
Reference in New Issue