Skip to content

Conversation

icy-arctic-fox
Copy link
Contributor

Adds mocking support to Time.monotonic. The freeze, travel, and scale methods cause Time.monotonic to change by the expected amounts.

Copy link
Member

@robacarp robacarp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the concurrency pattern can be deferred until someone wants to refactor all of Timecop to be concurrently friendly.

@veelenga
Copy link
Member

@robacarp ok, please be free to merge.

@robacarp robacarp merged commit 5875a3e into crystal-community:master Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants