prysm-pulse/slasher/beaconclient/service_test.go
Victor Farazdagi 09e3f0360e
Remove redundant calls to os.exit() in TestMain (#7761)
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-10 14:56:47 +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()
}