TheBrainFamily / wait-for-expect

Wait for expectation to be true, useful for integration and end to end testing. Integral part of react-testing-library.
MIT License
293 stars 31 forks source link

fix(jest): compatibility with jest@28 #37

Open goooseman opened 1 year ago

goooseman commented 1 year ago

Closes #36

The way to detect fake timers has been changed in Jest28. This PR updates project's dependencies and fixes the problem.

P.S. I wanted to keep this change as small as possible, but without updating jest there is no way to write unit tests. And to update jest I had to update other dependencies.

aarowman commented 1 year ago

Hello, any progress on this? I am running into issues with this library and fake timers in Jest 29

aarowman commented 2 weeks ago

Is this repo dead? This issue and PR has been open for over a year and no movement 😞