/*
 * @fileoverview Test helpers.
 *
 * The modules imported here may have side effects and the import order is
 * important.
 */
import { unmount } from './rendering.js';
import './expect.js';
import './react-warnings.js';


// Unmount the currently mounted component after each test.
afterEach(function() {
  unmount();
});

/*
 * @fileoverview Test helpers.
 *
 * The modules imported here may have side effects and the import order is
 * important.
 */
import './react-warnings.js';
import { unmount } from './rendering.js';
import './expect.js';


// Unmount the currently mounted component after each test.
afterEach(function() {
  unmount();
});

Make sure we catch React warnings even before it's used
Make sure we catch React warnings even before it's used

React 16 is now throwing a warning when requestAnimationFrame is not present
when requiring the module.
