Add tests for pkg/geth/blockchain
- inject dependencies instead of initializing them in the constructor
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package fakes
|
||||
|
||||
import "errors"
|
||||
|
||||
var FakeError = errors.New("failed")
|
||||
Reference in New Issue
Block a user