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.
applyAccept
upload()
1 parent 6bb14e8 commit dac24e9Copy full SHA for dac24e9
docs/user-event/api-utility.mdx
@@ -150,6 +150,9 @@ upload(
150
Change a file input as if a user clicked it and selected files in the resulting
151
file upload dialog.
152
153
+> Files that don't match an `accept` property will be automatically discarded,
154
+> unless [`applyAccept`](options.mdx#applyaccept) is set to `false`.
155
+
156
```jsx
157
test('upload file', async () => {
158
render(
0 commit comments