github.com/prysmaticlabs/prysm@v1.4.4/slasher/beaconclient/beaconclient_test.go (about) 1 package beaconclient 2 3 import ( 4 "io/ioutil" 5 "testing" 6 7 "github.com/sirupsen/logrus" 8 ) 9 10 var ( 11 _ = Notifier(&Service{}) 12 _ = ChainFetcher(&Service{}) 13 ) 14 15 func TestMain(m *testing.M) { 16 logrus.SetLevel(logrus.DebugLevel) 17 logrus.SetOutput(ioutil.Discard) 18 19 m.Run() 20 }