In my Angular 7 project, I want to mock window.innerWidth to return a specific value depending on the test case, but it ends up calling the actual window.innerWidth
window.innerWidth