evolution-gaming / cats-helper

Helpers for cats & cats-effect
MIT License
49 stars 17 forks source link

Update cats-effect to 3.3.4 #132

Closed Z1kkurat closed 2 years ago

Z1kkurat commented 2 years ago

There are some updates to test context, which were motivated by the following:

  1. TestContext's API was changed significantly in this commit.
  2. Now, tick(FiniteDuration) is private and we basically copy-paste it using tick() + advanceAndTick(FiniteDuration) in case the duration of the next task is positive and just tick() otherwise. The check is due to a new assertion for a strictly positive FiniteDuration in advanceAndTick(FiniteDuration)
  3. There's now an API for calculating the interval between "now" and the next scheduled task (nextInterval())