MCPcopy Create free account
hub / github.com/testing-library/user-event / setupInstance

Function setupInstance

tests/utils/pointer/cssPointerEvents.ts:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import {isJsdomEnv, setup} from '#testHelpers'
4
5function setupInstance() {
6 return createInstance(createConfig()).instance
7}
8
9test('get pointer-events from element or ancestor', async () => {
10 const {element} = setup(`

Callers 1

Calls 2

createInstanceFunction · 0.90
createConfigFunction · 0.90

Tested by

no test coverage detected