forked from pokt-network/pocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
We are trying to only initialize one `testPersistenceModule` in all the tests, so when the utility module tests are no longer dependant on the persistence module explicitly, this can be improved.
pocket/utility/test/module_test.go
Lines 134 to 139 in d552ec6
| // IMPROVE: Not part of `TestMain` because a mock requires `testing.T` to be initialized. | |
| // We are trying to only initialize one `testPersistenceModule` in all the tests, so when the | |
| // utility module tests are no longer dependant on the persistence module explicitly, this | |
| // can be improved. | |
| func mockBusInTestModules(t *testing.T) { | |
| ctrl := gomock.NewController(t) |
This issue was generated by todo-issue based on a IMPROVE comment in d552ec6.
Reactions are currently unavailable