Im fairly new to unit testing and Jasmine. What I'm trying to test is to see if the window has resized, but I'm not sure how to do it.
I have tables that resize with jQuery and but the script only starts working when the browser is resized below a certain amount. What i want to do with jasmine is check if the browser window has decreased in size.
I tried doing $(window).resizeTo(1000,1000) but that doesn't seem to work with latest browsers? I tried using pop-ups instead but that caused a whole lot of problems.
Any ideas?