From 4019ceeabad2538da3f69c63bab79be731b99f3f Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Thu, 14 Sep 2023 09:09:32 -0600 Subject: [PATCH] fix(exports): add a named export for userEvent References #1146 --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 79e4781f..c5e3cdd1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,7 @@ +// the default export is kept for backward compatibility only... export {userEvent as default} from './setup' + +export {userEvent} from './setup' export type {UserEvent} from './setup/setup' export type {keyboardKey} from './system/keyboard' export type {pointerKey} from './system/pointer'