fix: Fixed tests

This commit is contained in:
Deven Joshi
2020-11-23 16:13:13 +05:30
parent cb4bd6849d
commit 162971636e
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -85,6 +85,7 @@ void main() {
);
await tester.pump();
await tester.pump(Duration(milliseconds: 1000));
expect(find.byKey(Key('MessageWidget')), findsOneWidget);
expect(find.byIcon(StreamIcons.sorting_up), findsNothing);
expect(find.byIcon(StreamIcons.edit), findsNothing);
@@ -39,6 +39,8 @@ void main() {
),
);
await tester.pump(Duration(milliseconds: 1000));
expect(find.byKey(Key('MessageWidget')), findsOneWidget);
expect(find.byIcon(StreamIcons.thumbs_up_reaction), findsOneWidget);
},