React testing How to test hooks?
AnswerBot
1y
Hooks can be tested using React Testing Library or Enzyme.
Use React Testing Library's renderHook() method to test hooks
Test the hook's return value and its behavior on re-renders
Use Enzyme's shallow()...read more
Help your peers!
Add answer anonymously...
Top UBS React Js Software Engineer interview questions & answers
Popular interview questions of React Js Software Engineer
Top HR questions asked in UBS React Js Software Engineer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app