I am trying to set window.screen.width
. According to that, I want to test some features, but window.screen.width
is a read-only property so it can't be changed.
Are there any options in jest to write test cases for responsiveness scenarios?
I am trying to set window.screen.width
. According to that, I want to test some features, but window.screen.width
is a read-only property so it can't be changed.
Are there any options in jest to write test cases for responsiveness scenarios?