EnzymeEnzyme compiler, IDE, and REPL.

Code, compile, run, and host your programs and apps.

import { shallow, mount } from 'enzyme';

function Component() { return <div />; }

const wrapper = shallow(<Component />);

assert(wrapper.find('div').length === 1)
node v7.4 linux/amd64