Skip to content

Commit a1f823b

Browse files
committed
test: add unit tests for the slotleader package
1 parent c9ea8c0 commit a1f823b

File tree

3 files changed

+1073
-1
lines changed

3 files changed

+1073
-1
lines changed

.mockery.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
with-expecter: true
22
dir: "{{.InterfaceDir}}/mocks/"
33
packages:
4+
github.com/kilnfi/cardano-validator-watcher/internal/cardano:
5+
interfaces:
6+
CardanoClient:
7+
github.com/kilnfi/cardano-validator-watcher/internal/cardano/cardanocli:
8+
interfaces:
9+
CommandExecutor:
410
github.com/kilnfi/cardano-validator-watcher/internal/blockfrost:
511
interfaces:
6-
Client:
12+
Client:
13+
github.com/kilnfi/cardano-validator-watcher/internal/slotleader:
14+
interfaces:
15+
SlotLeader:

internal/slotleader/mocks/mock_SlotLeader.go

Lines changed: 321 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)