Skip to content

Commit

Permalink
consolidate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-tbd committed Feb 15, 2024
1 parent 6330cfa commit 5a95597
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/shared/pending_page_test.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'package:didpay/shared/pending_page.dart';
import 'package:flutter/material.dart';
import 'package:didpay/features/app/app_tabs.dart';
import 'package:flutter_test/flutter_test.dart';

import '../helpers/widget_helpers.dart';
Expand All @@ -15,17 +14,6 @@ void main() {
);

expect(find.text('Your request is pending...'), findsOneWidget);
});

testWidgets('should show progress indicator', (tester) async {
await tester.pumpWidget(
WidgetHelpers.testableWidget(
child: const PendingPage(
text: '',
),
),
);

expect(find.byType(CircularProgressIndicator), findsOneWidget);
});
});
Expand Down

0 comments on commit 5a95597

Please sign in to comment.