(props)
| 5 | |
| 6 | describes.sandboxed('preact/context', {}, () => { |
| 7 | function Component(props) { |
| 8 | const context = useAmpContext(); |
| 9 | const loading = useLoading(props.loading); |
| 10 | return <ContextReader {...context} computedLoading={loading} />; |
| 11 | } |
| 12 | |
| 13 | function ContextReader() { |
| 14 | return <div />; |
nothing calls this directly
no test coverage detected