mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 13:18:57 +00:00
59ee339497
* Move TestMain into dedicated file * update db_test * formatting
21 lines
266 B
Go
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()
|
|
}
|