MCPcopy
hub / github.com/yocontra/react-responsive / App

Function App

test/useMediaQuery_test.tsx:118–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116
117 it('throws if theres no query', () => {
118 function App() {
119 useMediaQuery({})
120 return null
121 }
122 assert.throws(
123 () => TestUtils.renderIntoDocument(<App />),
124 'Invalid or missing MediaQuery!'

Callers

nothing calls this directly

Calls 1

useMediaQueryFunction · 0.85

Tested by

no test coverage detected