github.com/KiraCore/sekai@v0.3.43/x/tokens/keeper/keeper_test.go (about) 1 package keeper_test 2 3 import ( 4 "testing" 5 6 simapp "github.com/KiraCore/sekai/app" 7 tmproto "github.com/cometbft/cometbft/proto/tendermint/types" 8 sdk "github.com/cosmos/cosmos-sdk/types" 9 "github.com/stretchr/testify/suite" 10 ) 11 12 type KeeperTestSuite struct { 13 suite.Suite 14 15 ctx sdk.Context 16 app *simapp.SekaiApp 17 } 18 19 func (suite *KeeperTestSuite) SetupTest() { 20 checkTx := false 21 suite.app = simapp.Setup(checkTx) 22 suite.ctx = suite.app.BaseApp.NewContext(checkTx, tmproto.Header{Height: 1}) 23 } 24 25 func TestKeeperTestSuite(t *testing.T) { 26 suite.Run(t, new(KeeperTestSuite)) 27 }