Emumba interview question

How to write tests for a react hook?