|
@ -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" /> |
|
|
]); |
|
|
]); |
|
|
``` |
|
|
``` |
|
|