Browse Source

Fixed typo

main
Serg 10 years ago
parent
commit
d12628e499
  1. 2
      docs/10.4-test-utils.md

2
docs/10.4-test-utils.md

@ -175,7 +175,7 @@ Then you can assert:
result = renderer.getRenderOutput(); result = renderer.getRenderOutput();
expect(result.type).toBe('div'); expect(result.type).toBe('div');
expect(result.props.children).toEqual([ expect(result.props.children).toEqual([
<span className="heading">Title</span> <span className="heading">Title</span>,
<Subcomponent foo="bar" /> <Subcomponent foo="bar" />
]); ]);
``` ```

Loading…
Cancel
Save