enzymejs/enzyme
No explanation what to do with configuration file
Aberta
#2.546 aberto em 17 de nov. de 2021
docshelp wanted
Métricas do repositório
- Stars
- (19.828 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
It is not a big issue, however, it is a bit frustrating that I can not find in the "Installation" section what is the best way and how to implement configured enzyme instance in my project:
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({ adapter: new Adapter() });
If you can give an idea how to handle it it would be nice 😃