mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-02 05:29:15 -06:00
10 lines
294 B
JavaScript
10 lines
294 B
JavaScript
|
/**
|
||
|
* Defines the React 16 Adapter for Enzyme.
|
||
|
*
|
||
|
* @link http://airbnb.io/enzyme/docs/installation/#working-with-react-16
|
||
|
* @copyright 2017 Airbnb, Inc.
|
||
|
*/
|
||
|
const enzyme = require("enzyme");
|
||
|
const Adapter = require("enzyme-adapter-react-16");
|
||
|
|
||
|
enzyme.configure({ adapter: new Adapter() });
|