Skip to content

Commit

Permalink
fix(exports): add a named export for userEvent
Browse files Browse the repository at this point in the history
References #1146
  • Loading branch information
kentcdodds committed Sep 14, 2023
1 parent da00e8d commit 4019cee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 4019cee

Please sign in to comment.