Readme shows incorrect examples for findAll...
mdrx-io opened this issue · comments
Mike Lewis commented
Please correct me if I'm wrong, but the examples like this:
expect(findAll(renderer.getRenderOutput(), (component) => component.type === 'span')).toBe(3);
... should be like this:
expect(findAll(renderer.getRenderOutput(), (component) => component.type === 'span').length).toBe(3);