From 1f0ca69d7cb5a0c7b49ed838d1679718687efb4e Mon Sep 17 00:00:00 2001 From: Jaime Date: Tue, 6 Aug 2024 16:43:59 +0200 Subject: [PATCH] docs: follow conventions --- test/demo/demo_page_test.dart | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/demo/demo_page_test.dart b/test/demo/demo_page_test.dart index 6e2ad6b..0df751c 100644 --- a/test/demo/demo_page_test.dart +++ b/test/demo/demo_page_test.dart @@ -75,7 +75,7 @@ void main() { expect(find.byType(AppThree), findsOneWidget); }); - group('adds FinancialDataRequested event when pulling to refresh', () { + group('adds $FinancialDataRequested event when pulling to refresh', () { for (final flavor in AppFlavor.values) { testWidgets( 'in $flavor', @@ -94,13 +94,12 @@ void main() { expect(widgetToFling, findsOneWidget); await tester.fling(widgetToFling, const Offset(0, 500), 1000); - await tester.pump(); - // Finish the scroll animation + // Finish the scroll animation. await tester.pump(const Duration(seconds: 1)); - // Finish the indicator settle animation + // Finish the indicator settle animation. await tester.pump(const Duration(seconds: 1)); - // Finish the indicator hide animation + // Finish the indicator hide animation. await tester.pump(const Duration(seconds: 1)); verify(() => financialDataBloc.add(const FinancialDataRequested()))