2022-11-24 21:54:52 +01:00
|
|
|
package e2e
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
"testing"
|
2023-04-05 09:46:23 +02:00
|
|
|
"time"
|
2022-11-24 21:54:52 +01:00
|
|
|
|
|
|
|
"github.com/0xERR0R/blocky/log"
|
|
|
|
. "github.com/onsi/ginkgo/v2"
|
|
|
|
. "github.com/onsi/gomega"
|
|
|
|
)
|
|
|
|
|
2023-11-19 23:51:49 +01:00
|
|
|
func init() {
|
2022-11-24 21:54:52 +01:00
|
|
|
log.Silence()
|
2023-11-19 23:51:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func TestLists(t *testing.T) {
|
2022-11-24 21:54:52 +01:00
|
|
|
RegisterFailHandler(Fail)
|
|
|
|
RunSpecs(t, "e2e Suite", Label("e2e"))
|
|
|
|
}
|
|
|
|
|
2023-11-29 18:18:29 +01:00
|
|
|
var _ = BeforeSuite(func(ctx context.Context) {
|
2023-04-05 09:46:23 +02:00
|
|
|
SetDefaultEventuallyTimeout(5 * time.Second)
|
2022-11-24 21:54:52 +01:00
|
|
|
})
|