status-go/transactions/mock_transactor
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
transactor.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=transactions/transactor.go -destination=transactions/mock_transactor/transactor.go -package=mock_transactor