From d164a8c03e96a6a0750ade290ac8dacd63e538bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Thu, 28 Oct 2021 10:53:09 +0100 Subject: [PATCH] fix(docs): add a note about snapshots --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7429b97d5..8f536c7d1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,6 +21,11 @@ To run included tests and linters run: make test +Some backend tests are using snapshot files. To update those snapshots after +a breaking change run tests using: + + UPDATE_SNAPSHOTS=1 go test -count=1 ./cmd/karma + ## Vendoring dependencies [Go modules](https://github.com/golang/go/wiki/Modules) are used for managing