You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replaceRaf(roots) has become replaceRaf([roots], options). This allows you to use the replaceRaf syntax to set the startTime and frameDuration for a stub.
The existing api replaceRaf(roots) will continue to work but has been depreciated and will be removed in a future major release.
Other changes
added the ability to control the time value that is passed to requestAnimationFrame callbacks. This has added relevant options to createStub, step, flush and replaceRaf.
documentation and examples of the new time mocking behaviour.