{"library":"enzyme-adapter-react-16","type":"library","category":null,"description":"This package, `enzyme-adapter-react-16`, provides the necessary compatibility layer for the Enzyme JavaScript testing utility to work with React 16.x components. Enzyme, currently at version 3.x for its core, offers an intuitive, jQuery-like API for manipulating and traversing React component outputs in tests, making it easier to assert on their structure and behavior. This adapter is crucial for projects relying on Enzyme to test React 16 applications, allowing developers to shallow render or mount components and simulate interactions. While `enzyme-adapter-react-16` (last updated to v1.15.8) effectively supports React 16, the broader Enzyme ecosystem has largely entered a maintenance or abandoned state for newer React versions (17+). For modern React development, React Testing Library is now the recommended and actively maintained alternative.","language":"javascript","status":"maintenance","version":"1.15.8","tags":["javascript","shallow rendering","shallowRender","test","reactjs","react","flux","testing"],"last_verified":"Wed May 27","install":[{"cmd":"npm install enzyme-adapter-react-16","imports":["import Enzyme from 'enzyme';","import Adapter from 'enzyme-adapter-react-16';","Enzyme.configure({ adapter: new Adapter() });"]},{"cmd":"yarn add enzyme-adapter-react-16","imports":[]},{"cmd":"pnpm add enzyme-adapter-react-16","imports":[]}],"homepage":"https://enzymejs.github.io/enzyme/","github":"https://github.com/enzymejs/enzyme","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/enzyme-adapter-react-16","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/enzyme-adapter-react-16/compatibility"}}