testing-library/react
fireEvent
is not working with happy-dom
#1770
Labels
bug
Something isn't working
Describe the bug
Whilst porting from JSDom to HappyDOM, I have a couple seemingly random instances of test cases erroneously failing. The issue seems to be related to
fireEvent
(from@testing-library/react
). In JSDom and browsers (Chrome & Firefox), the behaviour the tests assert is as expected.To Reproduce
You can observe the breakage between
689cccc
(good) andda4a7ce
(bad - only change is jsdom → happy-dom).Expected behavior
DOM is updated correctly
Device:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: