Skip to content

Conversation

@wilsonpage
Copy link

The existing check for jest fake timers no longer works as jest v27 mutates the setTimeout global differently. This patch checks for both the old and new formats.

The existing check for jest fake timers no longer works as jest v27 mutates the `setTimeout` global differently. This patch checks for both the old and new formats.
@lgandecki
Copy link
Member

Thanks, do you think this works too? #37

I like that it also upgrades the jest so the tests verify the change

@wilsonpage
Copy link
Author

Thanks, do you think this works too? #37

I like that it also upgrades the jest so the tests verify the change

👍 Looks like a better PR. You should merge that one.

@devlato
Copy link

devlato commented Jan 29, 2025

I can recommend an alternative if you're interested :)

https://github.com/devlato/async-wait-until

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