Skip to content

Commit a9717c7

Browse files
committed
chore: expose User Event in the exports and website
1 parent b9a3fb2 commit a9717c7

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/pure.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export {
1414
export { getDefaultNormalizer } from './matches';
1515
export { renderHook } from './renderHook';
1616
export { screen } from './screen';
17+
export { userEvent } from './user-event';
1718

1819
export type {
1920
RenderOptions,
@@ -23,3 +24,4 @@ export type {
2324
} from './render';
2425
export type { RenderHookOptions, RenderHookResult } from './renderHook';
2526
export type { Config } from './config';
27+
export type { UserEventConfig } from './user-event';

src/user-event/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { setup } from './setup';
33
import { PressOptions } from './press';
44
import { TypeOptions } from './type';
55

6+
export { UserEventConfig } from './setup';
7+
68
export const userEvent = {
79
setup,
810

website/sidebars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
docs: {
33
Introduction: ['getting-started', 'faq'],
4-
'API Reference': ['api', 'api-queries'],
4+
'API Reference': ['api', 'api-queries', 'user-event'],
55
Guides: [
66
'troubleshooting',
77
'how-should-i-query',

0 commit comments

Comments
 (0)