| 20 | * When using React-Intl `injectIntl` on components, props.intl is required. |
| 21 | */ |
| 22 | const nodeWithIntlProp = node => { |
| 23 | return React.cloneElement(node, { intl }); |
| 24 | }; |
| 25 | |
| 26 | export const shallowWithIntl = node => { |
| 27 | return shallow(nodeWithIntlProp(node), { context: { intl } }); |
no outgoing calls
no test coverage detected