You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: onchange event with preact/compat enabled (#72)
* fix: fireEvent doesnt mirror onChange behavior when using preact/compat
this fix aligns this library with testing-library for React where fireEvent.change() works as expected
* refactor: move onChange test to separate file
onChange test requires import from preact/compat which affects other tests in the same test file so I moved it to separate file
* refactor: simplify imports
replace unnecessary forwardRef import with general preact/compat; improve commentary
Co-authored-by: Ryan Christian <[email protected]>
* fix: apply aliasing only when preact/compat is used
prevent applying aliasing when compat library is not used; add change event to basic event tests to ensure both cases work
---------
Co-authored-by: Ryan Christian <[email protected]>
0 commit comments