mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
670735a4e9
* adding enzyme * download manager unit test
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() }); |