Skip to content

Commit 4f2e824

Browse files
committed
updateSnapshot flag
1 parent dd2194a commit 4f2e824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"contributors:add": "all-contributors add",
1818
"contributors:generate": "all-contributors generate",
1919
"test": "npm run test:start && npm run test:clear",
20-
"test:start": "cross-env NODE_ENV=test BABEL_ENV=modules:commonjs jest",
20+
"test:start": "cross-env NODE_ENV=test BABEL_ENV=modules:commonjs jest --updateSnapshot",
2121
"test:clear": "del-cli test/__snapshots__",
2222
"test:watch": "cross-env NODE_ENV=test BABEL_ENV=modules:commonjs jest --watch",
2323
"test:coverage": "cross-env NODE_ENV=test BABEL_ENV=modules:commonjs jest --coverage",

0 commit comments

Comments
 (0)