(props: ComponentProps)
| 27 | it('builds query from props', () => { |
| 28 | type ComponentProps = Partial<MediaQueryAllQueryable & { query?: string }> |
| 29 | function Component(props: ComponentProps) { |
| 30 | const matches = useMediaQuery(props) |
| 31 | return matches ? <div className="childComponent" /> : null |
| 32 | } |
| 33 | class App extends React.Component<ComponentProps> { |
| 34 | render = () => <Component {...this.props} /> |
| 35 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…