status-go/services/wallet/bridge/mock_bridge
Ivan Belyakov a135b27980 test(wallet)_: created Transactor interface
- Moved some methods from Transactor to users of it to clean interface.
- Mocked Bridge interface and Transactor interface for tests
- Wrote unit tests for SendTransaction
2024-05-31 09:58:06 +02:00
..
README.md test(wallet)_: created Transactor interface 2024-05-31 09:58:06 +02:00
bridge.go test(wallet)_: created Transactor interface 2024-05-31 09:58:06 +02:00

README.md

To generate mocks, from status-go root directory:

mockgen -source=services/wallet/bridge/bridge.go -destination=services/wallet/bridge/mock_bridge/bridge.go -package=mock_bridge