prysm-pulse/slasher/beaconclient/beaconclient_test.go
Victor Farazdagi 59ee339497
Move TestMain into dedicated file (#8779)
* Move TestMain into dedicated file

* update db_test

* formatting
2021-04-16 16:25:28 +00:00

21 lines
266 B
Go

package beaconclient
import (
"io/ioutil"
"testing"
"github.com/sirupsen/logrus"
)
var (
_ = Notifier(&Service{})
_ = ChainFetcher(&Service{})
)
func TestMain(m *testing.M) {
logrus.SetLevel(logrus.DebugLevel)
logrus.SetOutput(ioutil.Discard)
m.Run()
}