masto-fe/app/javascript/mastodon/test_setup.js

5 lines
139 B
JavaScript

import { configure } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
const adapter = new Adapter();
configure({ adapter });