Skip to content

Commit

Permalink
fix: rename 'update' test command handler parameter to 'updateSnapsho…
Browse files Browse the repository at this point in the history
…t' (#577)
  • Loading branch information
mediremi committed Jun 30, 2021
1 parent 22907e3 commit 34787ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/commands/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const handler = async ({
verbose,
cwd,
testRegex,
update,
updateSnapshot,
coverage,
watch,
watchAll,
Expand Down Expand Up @@ -44,7 +44,7 @@ const handler = async ({
{
testPathPattern: testRegex,
config: JSON.stringify(jestConfig),
updateSnapshot: !ci && update,
updateSnapshot: !ci && updateSnapshot,
collectCoverage: coverage,
watch: (!ci && watch) || undefined,
watchAll: (!ci && watchAll) || undefined,
Expand Down

0 comments on commit 34787ad

Please sign in to comment.