Skip to content

Commit

Permalink
Merge pull request #116 from testing-library/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
Gpx authored May 9, 2019
2 parents 0aefe3c + ae7dfb8 commit 2c75e62
Show file tree
Hide file tree
Showing 3 changed files with 2,330 additions and 1,374 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ userEvent.type(getByTestId("email"), "Hello, World!");
expect(getByTestId("email")).toHaveAttribute("value", "Hello, World!");
```

If `options.allAtOnce` is `true` type will write `text` at once rather than one
character at the time. `false` is the default value`.
If `options.allAtOnce` is `true`, `type` will write `text` at once rather than
one character at the time. `false` is the default value.

`options.delay` is the number of milliseconds that pass between to characters
`options.delay` is the number of milliseconds that pass between two characters
are typed. By default it's 0. You can use this option if your component has a
different behavior for fast or slow users.

Expand Down
Loading

0 comments on commit 2c75e62

Please sign in to comment.