I have tests for jest written in jsx files with these same lines of code:
import React from 'react';
import { configure } from 'enzyme';
import { shallow } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
configure({ adapter: new Adapter() });
How can I make a config file to include these every time instead of writing these in my test file?