Skip to content

Commit 831420a

Browse files
authored
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 1f8afda commit 831420a

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
@@ -238,4 +238,7 @@ const environment = setup()
238238
export const act = environment.act
239239
export const render = environment.render
240240
export const cleanup = environment.cleanup
241+
// eslint-disable-next-line import/export
241242
export * from '@testing-library/dom'
243+
// eslint-disable-next-line import/export
244+
export const fireEvent = environment.fireEvent

0 commit comments

Comments
 (0)