import { configure } from 'enzyme';
import * as Adapter from 'enzyme-adapter-react-16';
import * as FetchMock from 'fetch-mock';
import 'jest-enzyme';

/**
 * Note:
 *
 * This file exists to run code that specifically requires the test
 * environment, such as adding new matchers or running code before or after
 * every test.
 *
 *
 */

configure({ adapter: new Adapter() });

afterEach(() => {
  FetchMock.restore();
});
