mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-05 01:09:37 +00:00
Adds compulsory test coverage, fix tests
This commit is contained in:
21
backend/.testcoverage.yml
Normal file
21
backend/.testcoverage.yml
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
|
||||
# (mandatory)
|
||||
# Path to coverprofile file (output of `go test -coverprofile` command).
|
||||
profile: coverage.out
|
||||
|
||||
# (optional; but recommended to set)
|
||||
# When specified reported file paths will not contain local prefix in the output
|
||||
local-prefix: "npm"
|
||||
|
||||
# Holds coverage thresholds percentages, values should be in range [0-100]
|
||||
threshold:
|
||||
# (optional; default 0)
|
||||
# The minimum coverage that each file should have
|
||||
# file: 70
|
||||
# (optional; default 0)
|
||||
# The minimum coverage that each package should have
|
||||
# package: 30
|
||||
# (optional; default 0)
|
||||
# The minimum total coverage project should have
|
||||
total: 34
|
Reference in New Issue
Block a user