I have to write a unit test for a JavaScript function to compare two phone numbers. This is a function whose input parameters are two strings and the return type is true / false
. True
if the phone numbers are the same, false
if they are not. As many cases as possible should be included in the test.
Definition of function is phoneNrsAreEqual(nr1: String, nr2: String): Bool
Thanks for helping me!