DEV Community

Discussion on: Mocking framer-motion v4

 
tmikeschu profile image
Mike Schutte

Weird! Sorry nothing off the top of my head. I'll post here if I find anything.

Thread Thread
 
neldeles profile image
neldeles

Thanks for this article and thanks Jason as well for the clarification! Indeed my tests started failing because motion elements were being mocked as divs.

This is working for me with Framer Motion 5.6. Maybe one day I'll be as smart as you guys and be able to come up with a mock like this. Will have to copy-paste this for now. 😅