internal/util/health_test.go
Function Test_Health
has 124 lines of code (exceeds 70 allowed). Consider refactoring. Open
Open
func Test_Health(t *testing.T) {
t.Run("When nothing is proactively done", func(t *testing.T) {
t.Run("Shows not ready", func(t *testing.T) {
callEnableHealthCheck()
assertHealthStatusCodeIsBad(ReadyEndpoint, t)