I have a function which checks url address and returns true if that address is valid or no. I need to write tests to that using Jest. To complete this task I wrote testcase