We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
globalThis
1 parent 2548820 commit bbc34c7Copy full SHA for bbc34c7
docs/user-event/options.mdx
@@ -55,7 +55,7 @@ This defaults to the owner document of an element if an API is called
55
[directly](setup.mdx#direct-api) with an element and without setup. Otherwise it
56
falls back to the global document.
57
58
-`default`: `element.ownerDocument ?? global.document`
+`default`: `element.ownerDocument ?? globalThis.document`
59
60
### keyboardMap
61
0 commit comments