Skip to content

Commit

Permalink
test: add base test for event checker
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed May 20, 2024
1 parent 88a77bf commit 00da2e3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions sentry/pkg/checker/event/app_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//nolint:all
package event

import (
"fmt"
"testing"

"github.com/stretchr/testify/assert"
)

func TestLoadExpectedEventIntervals(t *testing.T) {
configs, err := loadExpectedEventIntervals()
if err != nil {
t.Fatalf("Expected no error, got %v", err)
}
fmt.Println(configs)
assert.Greater(t, len(configs), 0)
}

0 comments on commit 00da2e3

Please sign in to comment.