prysm-pulse/beacon-chain/blockchain/blockchain_test.go
Victor Farazdagi be078d6a16
Update TestMain(): do not call os.Exit() explicitly (#8046)
* update workspace

* update testmain
2020-12-04 16:10:07 +00:00

16 lines
199 B
Go

package blockchain
import (
"io/ioutil"
"testing"
"github.com/sirupsen/logrus"
)
func TestMain(m *testing.M) {
logrus.SetLevel(logrus.DebugLevel)
logrus.SetOutput(ioutil.Discard)
m.Run()
}