chore: test with coverage

This commit is contained in:
Ruidy 2022-01-21 16:51:13 -04:00
parent 84bc9ee259
commit 2c5ad0984d

View file

@ -13,4 +13,7 @@ run-web:
web:
cd client && npm run start
.PHONY: lint run dev run-web
test:
go test -json -count=1 ./... -coverpkg=./... -coverprofile coverage.txt -covermode=atomic | gotestfmt && go tool cover -html coverage.txt && rm coverage.txt
.PHONY: lint run dev run-web test