Is there a way to mock prefers-reduced-motion in tests running using Jest?
I’m writing some tests using Jest and React-testing library. In my tests, I’d like to simulate the case in which users have reduced-motion set on their devices.
I’m writing some tests using Jest and React-testing library. In my tests, I’d like to simulate the case in which users have reduced-motion set on their devices.