mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 02:02:18 +00:00
09e3f0360e
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
21 lines
444 B
Go
21 lines
444 B
Go
package validator
|
|
|
|
import (
|
|
"io/ioutil"
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/shared/params"
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
logrus.SetLevel(logrus.DebugLevel)
|
|
logrus.SetOutput(ioutil.Discard)
|
|
// Use minimal config to reduce test setup time.
|
|
prevConfig := params.BeaconConfig().Copy()
|
|
defer params.OverrideBeaconConfig(prevConfig)
|
|
params.OverrideBeaconConfig(params.MinimalSpecConfig())
|
|
|
|
m.Run()
|
|
}
|