diff --git a/x/assets/keeper/setup_test.go b/x/assets/keeper/setup_test.go index 51349b55c..1bcb40b43 100644 --- a/x/assets/keeper/setup_test.go +++ b/x/assets/keeper/setup_test.go @@ -5,9 +5,6 @@ import ( "github.com/ExocoreNetwork/exocore/testutil" - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - "github.com/stretchr/testify/suite" ) @@ -21,9 +18,6 @@ func TestKeeperTestSuite(t *testing.T) { s = new(StakingAssetsTestSuite) suite.Run(t, s) - // Run Ginkgo integration tests - RegisterFailHandler(Fail) - RunSpecs(t, "Keeper Suite") } func (suite *StakingAssetsTestSuite) SetupTest() { diff --git a/x/delegation/keeper/setup_test.go b/x/delegation/keeper/setup_test.go index ed6d4580e..5548d2306 100644 --- a/x/delegation/keeper/setup_test.go +++ b/x/delegation/keeper/setup_test.go @@ -5,9 +5,6 @@ import ( "github.com/ExocoreNetwork/exocore/testutil" - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - "github.com/stretchr/testify/suite" ) @@ -21,9 +18,6 @@ func TestKeeperTestSuite(t *testing.T) { s = new(DelegationTestSuite) suite.Run(t, s) - // Run Ginkgo integration tests - RegisterFailHandler(Fail) - RunSpecs(t, "Keeper Suite") } func (suite *DelegationTestSuite) SetupTest() { diff --git a/x/deposit/keeper/setup_test.go b/x/deposit/keeper/setup_test.go index 67a7734cd..cc891fe42 100644 --- a/x/deposit/keeper/setup_test.go +++ b/x/deposit/keeper/setup_test.go @@ -5,9 +5,6 @@ import ( "github.com/ExocoreNetwork/exocore/testutil" - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - "github.com/stretchr/testify/suite" ) @@ -20,10 +17,6 @@ var s *DepositTestSuite func TestKeeperTestSuite(t *testing.T) { s = new(DepositTestSuite) suite.Run(t, s) - - // Run Ginkgo integration tests - RegisterFailHandler(Fail) - RunSpecs(t, "Keeper Suite") } func (suite *DepositTestSuite) SetupTest() { diff --git a/x/reward/keeper/setup_test.go b/x/reward/keeper/setup_test.go index 4cb58894d..df09bc953 100644 --- a/x/reward/keeper/setup_test.go +++ b/x/reward/keeper/setup_test.go @@ -5,11 +5,6 @@ import ( "github.com/ExocoreNetwork/exocore/testutil" - //nolint:revive // dot imports are fine for Ginkgo - . "github.com/onsi/ginkgo/v2" - //nolint:revive // dot imports are fine for Ginkgo - . "github.com/onsi/gomega" - "github.com/stretchr/testify/suite" ) @@ -23,9 +18,6 @@ func TestKeeperTestSuite(t *testing.T) { s = new(RewardTestSuite) suite.Run(t, s) - // Run Ginkgo integration tests - RegisterFailHandler(Fail) - RunSpecs(t, "Keeper Suite") } // SetupTest setup test environment, it uses`require.TestingT` to support both `testing.T` and `testing.B`. diff --git a/x/slash/keeper/setup_test.go b/x/slash/keeper/setup_test.go index 70c6d6239..9cad0a10a 100644 --- a/x/slash/keeper/setup_test.go +++ b/x/slash/keeper/setup_test.go @@ -5,11 +5,6 @@ import ( "github.com/ExocoreNetwork/exocore/testutil" - //nolint:revive // dot imports are fine for Ginkgo - . "github.com/onsi/ginkgo/v2" - //nolint:revive // dot imports are fine for Ginkgo - . "github.com/onsi/gomega" - "github.com/stretchr/testify/suite" ) @@ -22,10 +17,6 @@ var s *SlashTestSuite func TestKeeperTestSuite(t *testing.T) { s = new(SlashTestSuite) suite.Run(t, s) - - // Run Ginkgo integration tests - RegisterFailHandler(Fail) - RunSpecs(t, "Keeper Suite") } // SetupTest setup test environment, it uses`require.TestingT` to support both `testing.T` and `testing.B`. diff --git a/x/withdraw/keeper/setup_test.go b/x/withdraw/keeper/setup_test.go index f2304a2b8..fe9eb12e1 100644 --- a/x/withdraw/keeper/setup_test.go +++ b/x/withdraw/keeper/setup_test.go @@ -5,10 +5,6 @@ import ( "github.com/ExocoreNetwork/exocore/testutil" - //nolint:revive // dot imports are fine for Ginkgo - . "github.com/onsi/ginkgo/v2" - //nolint:revive // dot imports are fine for Ginkgo - . "github.com/onsi/gomega" "github.com/stretchr/testify/suite" ) @@ -21,10 +17,6 @@ var s *WithdrawTestSuite func TestKeeperTestSuite(t *testing.T) { s = new(WithdrawTestSuite) suite.Run(t, s) - - // Run Ginkgo integration tests - RegisterFailHandler(Fail) - RunSpecs(t, "Keeper Suite") } // SetupTest setup test environment, it uses`require.TestingT` to support both `testing.T` and `testing.B`.