comty/setupTests.js
2020-03-03 11:44:08 +00:00

6 lines
268 B
JavaScript
Executable File

const Enzyme = require('enzyme');
// this is where we reference the adapter package we installed
// earlier
const EnzymeAdapter = require('enzyme-adapter-react-16');
// This sets up the adapter to be used by Enzyme
Enzyme.configure({ adapter: new EnzymeAdapter() });