diff --git a/cmd/query/app/apiv3/grpc_gateway_test.go b/cmd/query/app/apiv3/grpc_gateway_test.go index 118b412cb21..9a4220d83e8 100644 --- a/cmd/query/app/apiv3/grpc_gateway_test.go +++ b/cmd/query/app/apiv3/grpc_gateway_test.go @@ -53,6 +53,9 @@ const ( snapshotLocation = "./snapshots/" ) +// Snapshots can be regenerated via: +// +// REGENERATE_SNAPSHOTS=true go test -v ./cmd/query/app/apiv3/... var regenerateSnapshots = os.Getenv("REGENERATE_SNAPSHOTS") == "true" type testGateway struct {