Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove unused ginkgo #18

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions x/assets/keeper/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import (

"github.com/ExocoreNetwork/exocore/testutil"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/stretchr/testify/suite"
)

Expand All @@ -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() {
Expand Down
6 changes: 0 additions & 6 deletions x/delegation/keeper/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import (

"github.com/ExocoreNetwork/exocore/testutil"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/stretchr/testify/suite"
)

Expand All @@ -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() {
Expand Down
7 changes: 0 additions & 7 deletions x/deposit/keeper/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import (

"github.com/ExocoreNetwork/exocore/testutil"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/stretchr/testify/suite"
)

Expand All @@ -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() {
Expand Down
8 changes: 0 additions & 8 deletions x/reward/keeper/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand All @@ -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`.
Expand Down
9 changes: 0 additions & 9 deletions x/slash/keeper/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand All @@ -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`.
Expand Down
8 changes: 0 additions & 8 deletions x/withdraw/keeper/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand All @@ -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`.
Expand Down
Loading