import { shallow } from 'enzyme';
const wrapper = shallow(<MyComponent />);
// ...
import { mount } from 'enzyme';
const wrapper = mount(<MyComponent />);
// ...
import { render } from 'enzyme';
const wrapper = render(<MyComponent />);
// ...
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 />);
// ...