We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
memo
1 parent 41bf606 commit c8c74a4Copy full SHA for c8c74a4
packages/enzyme-test-suite/test/shared/methods/isEmptyRender.jsx
@@ -180,7 +180,7 @@ export default function describeIsEmptyRender({
180
expect(elements.isEmptyRender()).to.equal(!isShallow);
181
});
182
183
- it('works on a memoized functional component', () => {
+ itIf(!!memo, 'works on a memoized functional component', () => {
184
const Component = memo(() => null);
185
const wrapper = Wrap(<Component />);
186
expect(wrapper.debug()).to.equal(isShallow ? '' : '<Memo() />');
0 commit comments