Files
cunicu/pkg/watcher/watcher_test.go
Steffen Vogel dad8d5996b update Go module path
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-09-08 17:42:12 +02:00

28 lines
441 B
Go

package watcher_test
import (
"math/rand"
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/stv0g/cunicu/pkg/util"
"github.com/stv0g/cunicu/test"
)
func TestSuite(t *testing.T) {
rand.Seed(GinkgoRandomSeed())
RegisterFailHandler(Fail)
RunSpecs(t, "Watcher Suite")
}
var _ = test.SetupLogging()
var _ = BeforeSuite(func() {
if !util.HasAdminPrivileges() {
Skip("Insufficient privileges")
}
})