mirror of
https://github.com/streamich/react-use.git
synced 2026-01-18 14:06:52 +00:00
fix typo;
This commit is contained in:
parent
438a56606b
commit
a6c2d65a35
@ -123,7 +123,7 @@ describe('useTimeoutFn', () => {
|
||||
expect(spy).not.toHaveBeenCalled();
|
||||
|
||||
const spy2 = jest.fn();
|
||||
hook.rerender({ delay: 5, cb: spy2 });
|
||||
hook.rerender({ delay: 50, cb: spy2 });
|
||||
|
||||
jest.advanceTimersByTime(25);
|
||||
expect(spy).not.toHaveBeenCalled();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user