RuxSelect Testing #1328
Answered
by
micahjones13
WhiteTiburon
asked this question in
Q&A
-
I cannot get the onChange Event to fire off in testing for RuxSelect, using vitest and react testing library. Are there any examples of it? |
Beta Was this translation helpful? Give feedback.
Answered by
micahjones13
Aug 2, 2024
Replies: 1 comment 6 replies
-
Hey @WhiteTiburon, thanks for the question! |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've updated that repo with some more examples using userEvent and a mock function to show that the onChange function is firing as it should. Hopefully that can be adapted to fit your test case.