Skip to content

Commit

Permalink
fix: typo in multiple files upload (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierMartinz committed Jul 22, 2020
1 parent e5db332 commit fc9ff83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -249,7 +249,7 @@ test('upload multiple files', () => {
</div>,
)
const input = screen.getByLabelText(/upload file/i)
userEvent.upload(input, file)
userEvent.upload(input, files)

expect(input.files).toHaveLength(2)
expect(input.files[0]).toStrictEqual(files[0])
Expand Down

0 comments on commit fc9ff83

Please sign in to comment.