Documentation ¶
Overview ¶
Package testing includes useful mocks for slot tickers in unit tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTicker ¶
type MockTicker struct {
Channel chan uint64
}
MockTicker defines a useful struct for mocking the Ticker interface from the slotutil package.
Click to show internal directories.
Click to hide internal directories.