Skip to content

Commit

Permalink
Make updating snapshots a conscious decision
Browse files Browse the repository at this point in the history
With -u, we simply accept the result of any change we make that changes the outcome of any of our snapshot tests.
To spot issues easly, let the tests fail on failing snapshot tests, instead of noticing changes to snapshot files
when you are ready to commit your changes.
  • Loading branch information
diedexx committed Dec 1, 2023
1 parent 53d9558 commit 7ff2447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "GPL-3.0",
"private": true,
"scripts": {
"test": "jest -u",
"test": "jest",
"lint": "eslint src tests --max-warnings=74"
},
"dependencies": {
Expand Down

0 comments on commit 7ff2447

Please sign in to comment.