diff --git a/docs/best-practices.md b/docs/best-practices.md index 92f1b19062..35822496ea 100644 --- a/docs/best-practices.md +++ b/docs/best-practices.md @@ -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`