From fc9ff83b33fa5561ba499d75007ced5b1ed013fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Mart=C3=ADnez?= Date: Wed, 22 Jul 2020 17:32:18 +0200 Subject: [PATCH] fix: typo in multiple files upload (#405) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d06ce199..b2494d87 100644 --- a/README.md +++ b/README.md @@ -249,7 +249,7 @@ test('upload multiple files', () => { , ) 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])