Hello
I have a problem when I want to use enzyme shallow for testing the CompOne component located in the workspace @project/components.
I have an error about the need of using enzyme-adapter-react-15.
Enzyme Internal Error: Enzyme expects an adapter to be configured, but found none.
To configure an adapter, you should call `Enzyme.configure({ adapter: new Adapter() })`
before using any of Enzyme's top level APIs, where `Adapter` is the adapter
corresponding to the library currently being tested. For example:
import Adapter from 'enzyme-adapter-react-15';
To find out more about this, see https://airbnb.io/enzyme/docs/installation/index.html
However if I write in the CompOne.test.js file what is in the setupTests it works.
Hello I have a problem when I want to use enzyme shallow for testing the CompOne component located in the workspace @project/components. I have an error about the need of using enzyme-adapter-react-15.
However if I write in the CompOne.test.js file what is in the setupTests it works.