Skip to content

Commit

Permalink
docs: follow conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
jsgalarraga committed Aug 6, 2024
1 parent 98beed3 commit 1f0ca69
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/demo/demo_page_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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()))
Expand Down

0 comments on commit 1f0ca69

Please sign in to comment.