1
0
mirror of https://github.com/ragestudio/comty.git synced 2025-06-26 10:54:15 +00:00
comty/setupTests.js
2020-01-31 16:59:15 +01:00

6 lines
268 B
JavaScript

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() });