Skip to content

Instantly share code, notes, and snippets.

@djo
Created Dec 13, 2011
Embed
What would you like to do?
Speed up your Capybara JS specs you can turn off jquery animation. In this case all animations will immediately set elements to their final state when called, rather than displaying an effect.
- if Rails.env.test?
:javascript
$.fx.off = true;
@rmontgomery429
Copy link

rmontgomery429 commented May 24, 2013

👍

@shangardezi
Copy link

shangardezi commented Apr 26, 2018

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment