Skip to content

Correctly export fireEvent from renderer.ts #143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 2, 2025
Merged

Conversation

marlonicus
Copy link
Contributor

The renderer sets up the fireEvent function to call the correct act implementation. However this wrapped fireEvent is not actually exported from the package, and instead the "empty" fireEvent from testing-library is exported instead.

This PR exports the correctly wrapped fireEvent function for use.

@marlonicus marlonicus enabled auto-merge (squash) April 2, 2025 11:33
@marlonicus marlonicus disabled auto-merge April 2, 2025 11:33
@marlonicus marlonicus merged commit 831420a into main Apr 2, 2025
12 checks passed
@marlonicus marlonicus deleted the bugfix/fire-event branch April 2, 2025 11:33
marlonicus added a commit that referenced this pull request Apr 8, 2025
* Update renderer.ts to export fireEvent correctly

* Approach to export testing library while overriding fireEvent

* Export with disabled rules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant