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

File patchFocus.ts

tests/document/patchFocus.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {patchFocus, restoreFocus} from '#src/document/patchFocus'
2import {isJsdomEnv, render} from '#testHelpers'
3
4beforeAll(() => {

Callers

nothing calls this directly

Calls 5

patchFocusFunction · 0.90
restoreFocusFunction · 0.90
renderFunction · 0.85
getEventSnapshotFunction · 0.85
isJsdomEnvFunction · 0.85

Tested by

no test coverage detected