Skip to content

Commit ef7450b

Browse files
committed
Correctly export fireEvent from renderer.ts (#143)
* Update renderer.ts to export fireEvent correctly * Approach to export testing library while overriding fireEvent * Export with disabled rules.
1 parent 3666052 commit ef7450b

File tree

1 file changed

+3
-0
lines changed
  • packages/@react-facet/dom-fiber-testing-library/src

1 file changed

+3
-0
lines changed

packages/@react-facet/dom-fiber-testing-library/src/renderer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,7 @@ const environment = setup()
240240
export const act = environment.act
241241
export const render = environment.render
242242
export const cleanup = environment.cleanup
243+
// eslint-disable-next-line import/export
243244
export * from '@testing-library/dom'
245+
// eslint-disable-next-line import/export
246+
export const fireEvent = environment.fireEvent

0 commit comments

Comments
 (0)