Anees MohamedAngular unit test window.innerWidthI found it difficult to write unit test in angular for a method that depends on the window innerWidth property. I hope this would help you…2 min read·May 12, 2021--2--2