Skip to content

utils: improve unittest coverage

Codecov / codecov/patch failed Dec 31, 2024 in 1s

0.00% of diff hit (target 60.00%)

View this Pull Request on Codecov

0.00% of diff hit (target 60.00%)

Annotations

Check warning on line 84 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L75-L84

Added lines #L75 - L84 were not covered by tests

Check warning on line 97 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L86-L97

Added lines #L86 - L97 were not covered by tests

Check warning on line 99 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L99

Added line #L99 was not covered by tests

Check warning on line 108 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L103-L108

Added lines #L103 - L108 were not covered by tests

Check warning on line 110 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L110

Added line #L110 was not covered by tests

Check warning on line 114 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L114

Added line #L114 was not covered by tests

Check warning on line 130 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L117-L130

Added lines #L117 - L130 were not covered by tests

Check warning on line 136 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L133-L136

Added lines #L133 - L136 were not covered by tests

Check warning on line 144 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L140-L144

Added lines #L140 - L144 were not covered by tests

Check warning on line 153 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L149-L153

Added lines #L149 - L153 were not covered by tests

Check warning on line 155 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L155

Added line #L155 was not covered by tests

Check warning on line 163 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L159-L163

Added lines #L159 - L163 were not covered by tests

Check warning on line 165 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L165

Added line #L165 was not covered by tests

Check warning on line 169 in pkg/utils/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/utils/utils.go#L169

Added line #L169 was not covered by tests