Skip to content

Commit

Permalink
Set delay to zero in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
david-szabo97 committed Mar 11, 2021
1 parent 2da7188 commit 43ebb01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/e2e-tests/plugins/disable-animations.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Enqueue CSS stylesheet disabling animations.
*/
function enqueue_disable_animations_stylesheet() {
$custom_css = '* { animation-duration: 0ms !important; transition-duration: 0s !important; }';
$custom_css = '* { animation-duration: 0ms !important; animation-delay: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }';
wp_add_inline_style( 'wp-components', $custom_css );
}

Expand Down

0 comments on commit 43ebb01

Please sign in to comment.