import { shallow } from 'enzyme';
const wrapper = shallow(<MyComponent />);
// ...import { mount } from 'enzyme';
const wrapper = mount(<MyComponent />);
// ...import { render } from 'enzyme';
const wrapper = render(<MyComponent />);
// ...8000
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
import { shallow } from 'enzyme';
const wrapper = shallow(<MyComponent />);
// ...import { mount } from 'enzyme';
const wrapper = mount(<MyComponent />);
// ...import { render } from 'enzyme';
const wrapper = render(<MyComponent />);
// ...