fix typo;

This commit is contained in:
xobotyi 2019-08-27 00:01:46 +03:00
parent 438a56606b
commit a6c2d65a35

View File

@ -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();