message: test(Root): Wrap jest timeouts in act()
diff: +import { act } from 'react-dom/test-utils';
  import { baselineComponent, mockScrollContext, mountTest } from '../../testing/utils';
  import { render } from '@testing-library/react';
  import View from '../View/View';
  @@ -25,7 +26,7 @@ describe('Root', () => {
  it('after prop update', () => {
  render(<Root activeView="v1">{views}</Root>)
  .rerender(<Root activeView="v2">{views}</Root>);
  - jest.runAllTimers();
  + act(() => jest.runAllTimers());
  expect(document.getElementById('v1')).toBeNull();
  expect(document.getElementById('v2')).not.toBeNull();
  });
  @@ -33,7 +34,7 @@ describe('Root', () => {
  const onTransition = jest.fn();
  render(<Root activeView="v1" onTransition={onTransition}>{views}</Root>)
  .rerender(<Root activeView="v2" onTransition={onTransition}>{views}</Root>);
  - jest.runAllTimers();
  + act(() => jest.runAllTimers());
  expect(onTransition).toBeCalledTimes(1);
  expect(onTransition).toBeCalledWith({ from: 'v1', to: 'v2', isBack: false });
  });
  @@ -41,7 +42,7 @@ describe('Root', () => {
  const onTransition = jest.fn();
  render(<Root activeView="v2" onTransition={onTransition}>{views}</Root>)
  .rerender(<Root activeView="v1" onTransition={onTransition}>{views}</Root>);
  - jest.runAllTimers();
  + act(() => jest.runAllTimers());
  expect(onTransition).toBeCalledWith({ from: 'v2', to: 'v1', isBack: true });
  });
  });
  @@ -71,7 +72,7 @@ describe('Root', () => {
  // trigger scroll save
  h.rerender(<MockScroll><Root activeView="v2">{views}</Root></MockScroll>);
  h.rerender(<MockScroll><Root activeView="v1">{views}</Root></MockScroll>);
  - jest.runAllTimers();
  + act(() => jest.runAllTimers());
  expect(scrollTo).toBeCalledWith(0, y);
  });
  it('resets on forward navigation', () => {
  @@ -81,7 +82,7 @@ describe('Root', () => {
  // trigger scroll save
  h.rerender(<MockScroll><Root activeView="v1">{views}</Root></MockScroll>);
  h.rerender(<MockScroll><Root activeView="v2">{views}</Root></MockScroll>);
  - jest.runAllTimers();
  + act(() => jest.runAllTimers());
  expect(scrollTo.mock.calls[scrollTo.mock.calls.length - 1]).toEqual([0, 0]);
  });
  });
  