From 34da07c8e1050f1cef3fe6865ee51848263fe4ac Mon Sep 17 00:00:00 2001 From: pdblasi-google <109253501+pdblasi-google@users.noreply.github.com> Date: Wed, 5 Oct 2022 12:09:02 -0700 Subject: [PATCH] [animations] Test fix for: flutter/flutter 112610 `AutomatedTestWidgetsFlutterBinding.pump` should match engine frame precision (#2680) --- packages/animations/test/open_container_test.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/animations/test/open_container_test.dart b/packages/animations/test/open_container_test.dart index 8cdc892aa5..d059955414 100644 --- a/packages/animations/test/open_container_test.dart +++ b/packages/animations/test/open_container_test.dart @@ -255,7 +255,6 @@ void main() { expect(dataTransitionStart.radius, dataOpen.radius); expect(dataTransitionStart.rect, dataOpen.rect); expect(_getOpacity(tester, 'Open'), 1.0); - await tester.pump(const Duration(microseconds: 1)); // 300 * 1/5 = 60 // Jump to start of fade out: 1/5 of 300. await tester.pump(const Duration(milliseconds: 60)); // 300 * 1/5 = 60