Skip to content

Commit

Permalink
fix(deps): update test coverage exclusions
Browse files Browse the repository at this point in the history
Exclude nanoproxy.go from test coverage checks. This change ensures the main package is not tested for coverage, aligning with project guidelines. Removed build constraint from nanoproxy.go for better code clarity.
  • Loading branch information
ryanbekhen committed Dec 8, 2024
1 parent d4a2931 commit 524168d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .testcoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ threshold:
total: 80
exclude:
paths:
- \.pb\.go$ # excludes all protobuf generated files
- \.pb\.go$ # excludes all protobuf generated files
- nanoproxy\.go$ # excludes the main package
2 changes: 0 additions & 2 deletions nanoproxy.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build !test

package main

import (
Expand Down

0 comments on commit 524168d

Please sign in to comment.