Skip to content

Commit

Permalink
Add yarn test-update
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfurey authored May 5, 2023
1 parent 1ed2022 commit 9b4c53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Here are some recommendations for using the Guardian CDK library:
### Snapshot testing
[Snapshot testing with Jest](https://jestjs.io/docs/snapshot-testing) makes it easy to review any stack changes when
developing locally and in PRs. This enables us to catch things early, creating a shorter feedback loop.
`npm run test-update` will update the snapshots. See the
`npm run test-update`/`yarn test-update` will update the snapshots. See the
[AWS docs](https://docs.aws.amazon.com/cdk/v2/guide/testing.html#testing_snapshot) on snapshot testing.

#### Mocking `gu:cdk:version`
Expand Down

0 comments on commit 9b4c53d

Please sign in to comment.