Skip to content

Commit 2fe863f

Browse files
author
Igor Canedo
committed
fixing snapshot update
1 parent 5e36aa7 commit 2fe863f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ test:
4949

5050
## Update jest snapshots
5151
test-reset:
52-
@npm run test-reset
52+
@cd sample && npm run test-reset
53+
npm test
5354

5455
## Run code coverage
5556
test-coverage:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"test": "npm run linter && npm run flow && npm run coverage",
77
"test-coveralls": "npm test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
88
"coverage": "jest --coverage",
9-
"test-reset": "npm test -- --updateSnapshot",
9+
"test-reset": "jest --updateSnapshot",
1010
"linter": "eslint .",
1111
"flow": "flow",
1212
"flow-stop": "flow stop"

0 commit comments

Comments
 (0)