mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 07:41:51 +08:00
fix(all): disable animations in e2e tests
This commit is contained in:
@ -40,3 +40,6 @@ Ionic.mode = Context.mode = mode;
|
||||
config.set('mode', mode);
|
||||
documentElement.setAttribute('mode', mode);
|
||||
documentElement.classList.add(mode);
|
||||
if (config.getBoolean('_testing')) {
|
||||
config.set('animated', false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user