@testing-library/user-event
Advanced tools
Comparing version 8.0.1 to 8.0.2
{ | ||
"name": "@testing-library/user-event", | ||
"version": "8.0.1", | ||
"version": "8.0.2", | ||
"description": "Simulate user events for react-testing-library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -112,3 +112,3 @@ <div align="center"> | ||
### `type(element, text, [options])` | ||
### `async type(element, text, [options])` | ||
@@ -126,3 +126,3 @@ Writes `text` inside an `<input>` or a `<textarea>`. | ||
userEvent.type(getByTestId("email"), "Hello, World!"); | ||
await userEvent.type(getByTestId("email"), "Hello, World!"); | ||
expect(getByTestId("email")).toHaveAttribute("value", "Hello, World!"); | ||
@@ -129,0 +129,0 @@ ``` |
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
12858685