Skip to content

Commit 4019cee

Browse files
committed
fix(exports): add a named export for userEvent
References #1146
1 parent da00e8d commit 4019cee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
// the default export is kept for backward compatibility only...
12
export {userEvent as default} from './setup'
3+
4+
export {userEvent} from './setup'
25
export type {UserEvent} from './setup/setup'
36
export type {keyboardKey} from './system/keyboard'
47
export type {pointerKey} from './system/pointer'

0 commit comments

Comments
 (0)