@testing-library/user-event
Advanced tools
Comparing version 14.0.4 to 14.1.0
@@ -8,4 +8,4 @@ declare const isPrepared: unique symbol; | ||
export declare function prepareDocument(document: Document): void; | ||
export { getUIValue, setUIValue, startTrackValue, endTrackValue } from './value'; | ||
export { getUIValue, setUIValue, startTrackValue, endTrackValue, clearInitialValue, } from './value'; | ||
export { getUISelection, setUISelection } from './selection'; | ||
export type { UISelectionRange } from './selection'; |
@@ -14,3 +14,4 @@ declare type anyFunc = (...a: any[]) => any; | ||
realArgs?: ImplReturn<ElementType[PropName]>; | ||
then?: () => void; | ||
}): void; | ||
export {}; |
@@ -18,3 +18,3 @@ declare const UIValue: unique symbol; | ||
export declare function getUIValue(element: HTMLInputElement | HTMLTextAreaElement): string; | ||
export declare function setInitialValue(element: HTMLInputElement | HTMLTextAreaElement): void; | ||
export declare function clearInitialValue(element: HTMLInputElement | HTMLTextAreaElement): void; | ||
export declare function getInitialValue(element: HTMLInputElement | HTMLTextAreaElement): string | undefined; | ||
@@ -21,0 +21,0 @@ export declare function startTrackValue(element: HTMLInputElement | HTMLTextAreaElement): void; |
@@ -109,2 +109,8 @@ import type { keyboardKey } from './keyboard/types'; | ||
writeToClipboard?: boolean; | ||
/** | ||
* A function to be called internally to advance your fake timers (if applicable) | ||
* | ||
* @example jest.advanceTimersByTime | ||
*/ | ||
advanceTimers?: ((delay: number) => Promise<void>) | ((delay: number) => void); | ||
} | ||
@@ -111,0 +117,0 @@ /** |
@@ -1,1 +0,2 @@ | ||
export declare function wait(time?: number): Promise<void>; | ||
import { Config } from '../../setup'; | ||
export declare function wait(config: Config): Promise<[void, void]> | undefined; |
{ | ||
"name": "@testing-library/user-event", | ||
"version": "14.0.4", | ||
"version": "14.1.0", | ||
"description": "Fire events the same way the user does", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
247705
7084