-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] use jest mocks instead of sinon ones for timers
Instead of using jest faketimers that don't seem to work directly, (maybe because jestjs/jest#3465) just mock `_.throttle` to make it return the throttled function directly.
- Loading branch information
1 parent
0134973
commit b9ce0cc
Showing
1 changed file
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters