message: test(useRafInterval): adjust test
diff: @@ -13,27 +13,19 @@ const setUp = ({ fn, delay, options }: ParamsObj) =>
  const FRAME_TIME = 16;
  describe('useRafInterval', () => {
  beforeAll(() => {
  - jest.useFakeTimers('modern');
  + jest.useFakeTimers();
  });
  afterAll(() => {
  jest.restoreAllMocks();
  });
  it('should downgrade to setInterval when requstAnimationFrame is undefined', () => {
  - const _requestAnimationFrame = global.requestAnimationFrame;
  - const _cancelAnimationFrame = global.cancelAnimationFrame;
  -
  - // @ts-ignore
  - delete global.requestAnimationFrame;
  - // @ts-ignore
  - delete global.cancelAnimationFrame;
  + Object.defineProperty(window, 'cancelAnimationFrame', { value: undefined });
  + Object.defineProperty(window, 'requestAnimationFrame', { value: undefined });
  const callback = jest.fn();
  setUp({ fn: callback, delay: FRAME_TIME });
  expect(callback).not.toBeCalled();
  jest.advanceTimersByTime(FRAME_TIME * 1.5);
  expect(callback).toHaveBeenCalledTimes(1);
  -
  - global.requestAnimationFrame = _requestAnimationFrame;
  - global.cancelAnimationFrame = _cancelAnimationFrame;
  });
  });
  