Skip to content

Commit 4019cee

Browse files
committedSep 14, 2023
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

+3
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)
Please sign in to comment.