Emumba Interview Question

How to write tests for a react hook?