By Vanessa Cassandra / Zuhlke Engineering
Repository
Further readings:
Query priority
userEvent is preferrable.
Differences between fireEvent and userEvent
Further readings:
Only ~30% of accessibility issues can be found by automated testing
Further readings:
Further readings:
React hooks can only be called inside a function component. To test a custom hook, one way is to create an example component, and test that component instead.
Further readings: