Skip to content

chore: removed MustJSONUnmarshal, added db tests

Codecov / codecov/patch failed Jan 19, 2025 in 1s

62.37% of diff hit (target 69.89%)

View this Pull Request on Codecov

62.37% of diff hit (target 69.89%)

Annotations

Check warning on line 390 in pkg/database/database.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/database/database.go#L388-L390

Added lines #L388 - L390 were not covered by tests

Check warning on line 26 in pkg/reporters/telegram/jails.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/reporters/telegram/jails.go#L12-L26

Added lines #L12 - L26 were not covered by tests

Check warning on line 38 in pkg/reporters/telegram/jails.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/reporters/telegram/jails.go#L28-L38

Added lines #L28 - L38 were not covered by tests

Check warning on line 40 in pkg/reporters/telegram/jails.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/reporters/telegram/jails.go#L40

Added line #L40 was not covered by tests

Check warning on line 103 in pkg/reporters/telegram/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/reporters/telegram/types.go#L102-L103

Added lines #L102 - L103 were not covered by tests

Check warning on line 220 in pkg/state/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/state/manager.go#L216-L220

Added lines #L216 - L220 were not covered by tests