feat: update FLCC + add enzyme (#282)

This releases FLCC to stage.
This commit is contained in:
connorhaugh
2022-04-05 14:52:50 -04:00
committed by GitHub
parent bb70e59e8c
commit 397f6c5d2e
7 changed files with 32807 additions and 957 deletions

View File

@@ -4,6 +4,13 @@ import '@testing-library/jest-dom';
import '@testing-library/jest-dom/extend-expect';
import ReactDOM from 'react-dom';
/* eslint-disable import/no-extraneous-dependencies */
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import 'babel-polyfill';
Enzyme.configure({ adapter: new Adapter() });
/* need to mock window for tinymce on import, as it is JSDOM incompatible */
Object.defineProperty(window, 'matchMedia', {