Skip to content

Commit

Permalink
feat: increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
joanestebanr committed Nov 13, 2024
1 parent a6bc26f commit afd202d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aggsender/aggsender_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,12 @@ func TestAggSendersendCertificates(t *testing.T) {
ch := make(chan aggsendertypes.EpochEvent)
epochNotifierMock.EXPECT().Subscribe("aggsender").Return(ch)
bridgeL2SyncerMock.EXPECT().GetLastProcessedBlock(mock.Anything).Return(uint64(0), nil)

go aggSender.Start(ctx)
ch <- aggsendertypes.EpochEvent{
Epoch: 1,
}
time.Sleep(100 * time.Millisecond)
time.Sleep(200 * time.Millisecond)
}

//nolint:dupl
Expand Down

0 comments on commit afd202d

Please sign in to comment.