Write the test cases to sendotp function using chai

Tell us what’s happening:
How to check the sendotp function and write the test cases in chai

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0

Challenge: Test if a Variable or Function is Defined

Link to the challenge: