MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / FixedPositionTest

Function FixedPositionTest

src/test/tooltip-advanced.spec.js:212–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210
211 test('tooltip with position strategy fixed', async () => {
212 const FixedPositionTest = () => {
213 return (
214 <>
215 <span data-tooltip-id="fixed-position-test">Hover Me</span>
216 <Tooltip
217 id="fixed-position-test"
218 content="Fixed Position Test"
219 positionStrategy="fixed"
220 />
221 </>
222 )
223 }
224
225 // Render the test component
226 render(<FixedPositionTest />)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected