API Reference
Shallow Rendering
import { shallow } from 'enzyme';
const wrapper = shallow(<MyComponent />);
// ...
Full Rendering
import { mount } from 'enzyme';
const wrapper = mount(<MyComponent />);
// ...
Static Rendering
import { render } from 'enzyme';
const wrapper = render(<MyComponent />);
// ...