From f6d606a3ec091114b3a3ad8cbe2858509878efdd Mon Sep 17 00:00:00 2001 From: Malachi Willey Date: Sun, 24 May 2020 17:19:14 -0500 Subject: [PATCH] feat: add special keys to userEvent.type() --- README.md | 24 +++- package-lock.json | 171 +++++++++++++++++++---- package.json | 1 + src/__tests__/type.js | 317 ++++++++++++++++++++++++++++++++++++++++++ src/index.js | 153 ++++++++------------ src/type.js | 182 ++++++++++++++++++++++++ tests/setup-env.js | 36 +++++ 7 files changed, 758 insertions(+), 126 deletions(-) create mode 100644 src/type.js diff --git a/README.md b/README.md index 8b298443..81dc7180 100644 --- a/README.md +++ b/README.md @@ -158,8 +158,8 @@ import userEvent from '@testing-library/user-event' test('type', async () => { render(