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
I would like to test my components using this react hook. I need some help writing the tests for this library because I still dont seem to understand testing as well as I want to. Any feedback would be very helpful, a minimal test sample here would be best. I am using vitest as my test environment, but would be happy to accept a jest solution and resolve it myself. The test should include an example of mocking the click handler, and expecting a popup.
I would like to test my components using this react hook. I need some help writing the tests for this library because I still dont seem to understand testing as well as I want to. Any feedback would be very helpful, a minimal test sample here would be best. I am using
vitest
as my test environment, but would be happy to accept a jest solution and resolve it myself. The test should include an example of mocking the click handler, and expecting a popup.The text was updated successfully, but these errors were encountered: