fixes tests

This commit is contained in:
thatben 2025-06-02 15:40:26 +02:00
parent 6514e32919
commit 1b7137a75e
No known key found for this signature in database
GPG Key ID: 62C543548433D43E

View File

@ -15,7 +15,7 @@ proc checkAllUnsubscribed*(s: MockState) =
s.events.dhtNodeCheck.listeners == 0
s.events.nodesToRevisit.listeners == 0
method whileRunning*(s: MockState, step: OnStep, delay: Duration) {.async: (raises: [CancelledError]).} =
method whileRunning*(s: MockState, step: OnStep, delay: Duration) {.async: (raises: []).} =
s.steppers.add(step)
s.delays.add(delay)