Skip to content

Commit

Permalink
added missing pkg suite test file
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed May 15, 2024
1 parent 88ef3cd commit 96b3660
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pkg/utils/suite_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package utils

import (
"testing"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"
)

func TestUtils(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Utils Suite")
}

var _ = BeforeSuite(func() {
By("Before suite")

logf.SetLogger(zap.New(zap.WriteTo(GinkgoWriter), zap.UseDevMode(true)))
})

0 comments on commit 96b3660

Please sign in to comment.