@testing-library/user-event 14.1.0 → 14.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +195 -201
- package/dist/index.mjs +206 -212
- package/dist/types/options.d.ts +1 -1
- package/package.json +2 -1
package/dist/types/options.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export interface Options {
|
|
|
48
48
|
* This defaults to the owner document of an element if an API is called directly with an element and without setup.
|
|
49
49
|
* Otherwise it falls back to the global document.
|
|
50
50
|
*
|
|
51
|
-
* @default element.ownerDocument??
|
|
51
|
+
* @default element.ownerDocument??globalThis.document
|
|
52
52
|
*/
|
|
53
53
|
document?: Document;
|
|
54
54
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testing-library/user-event",
|
|
3
|
-
"version": "14.1.
|
|
3
|
+
"version": "14.1.1",
|
|
4
4
|
"description": "Fire events the same way the user does",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-testing-library",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"@types/react": "^17.0.42",
|
|
53
53
|
"esbuild": "^0.14.27",
|
|
54
54
|
"eslint-import-resolver-typescript": "^2.7.0",
|
|
55
|
+
"eslint-plugin-local-rules": "^1.1.0",
|
|
55
56
|
"is-ci": "^3.0.1",
|
|
56
57
|
"jest-in-case": "^1.0.2",
|
|
57
58
|
"jest-serializer-ansi": "^1.0.3",
|