ipld-eth-server/pkg/transformers/flop_kick/flop_kick_suite_test.go
Rob Mulholand ac9375ae47 Discard logs created during tests
- Make sure output is being set to discard for logrus to reduce clutter in the console
2019-02-12 11:18:39 -06:00

20 lines
308 B
Go

package flop_kick_test
import (
"github.com/sirupsen/logrus"
"io/ioutil"
"testing"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
func TestFlopKick(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "FlopKick Suite")
}
var _ = BeforeSuite(func() {
logrus.SetOutput(ioutil.Discard)
})