How to pass a value to prompt and return it without showing popup window and entering a value? I\'ve been trying this:
jest.spyOn(window, "prompt").mock