It seems as though changing the amount of time the function should be debounced for affects whether or not it fails. At large numbers it always fails, at some lower numbers it sometimes fails, and then at very low numbers it never fails.
-
Notifications
You must be signed in to change notification settings - Fork 0
rimunroe/lodash-jest-timer-issue
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Demonstrating some unexpected behavior encountered when trying to use Lodash's debounce function and Jest's mock timers
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published