Created
November 11, 2016 22:19
-
-
Save mcmire/e621374fbdfafb3fba0ab9e48a4aedd1 to your computer and use it in GitHub Desktop.
Disable transitions and animations in tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if Rails.env.test? %> | |
<style type="text/css"> | |
* { | |
transition-duration: 0s !important; | |
animation-duration: 0s !important; | |
} | |
</style> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment