forked from cerc-io/ipld-eth-server
ac9375ae47
- Make sure output is being set to discard for logrus to reduce clutter in the console
20 lines
301 B
Go
20 lines
301 B
Go
package shared_test
|
|
|
|
import (
|
|
"github.com/sirupsen/logrus"
|
|
"io/ioutil"
|
|
"testing"
|
|
|
|
. "github.com/onsi/ginkgo"
|
|
. "github.com/onsi/gomega"
|
|
)
|
|
|
|
func TestShared(t *testing.T) {
|
|
RegisterFailHandler(Fail)
|
|
RunSpecs(t, "Shared Suite")
|
|
}
|
|
|
|
var _ = BeforeSuite(func() {
|
|
logrus.SetOutput(ioutil.Discard)
|
|
})
|