fixed test coverage (#218)

This commit is contained in:
RoyUP9 2021-08-15 14:22:49 +03:00 committed by GitHub
parent a427534605
commit b4f3b2c540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
test: ## Run agent tests.
@go test ./... -race -coverprofile=coverage.out -covermode=atomic
@go test ./... -coverpkg=./... -race -coverprofile=coverage.out -covermode=atomic

View File

@ -41,4 +41,4 @@ clean: ## Clean all build artifacts.
rm -rf ./bin/*
test: ## Run cli tests.
@go test ./... -race -coverprofile=coverage.out -covermode=atomic
@go test ./... -coverpkg=./... -race -coverprofile=coverage.out -covermode=atomic