test(repo): fix tests

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2022-05-16 18:21:33 +05:30
committed by xsahil03x
parent 069f380f41
commit 2f9a35f3fa
4 changed files with 27 additions and 15 deletions
@@ -114,9 +114,9 @@ void main() {
});
bool findBackground(Widget widget) =>
widget is Container &&
widget is DecoratedBox &&
widget.decoration is BoxDecoration &&
(widget.decoration! as BoxDecoration).image != null;
(widget.decoration as BoxDecoration).image != null;
expect(find.byType(StreamMessageListView), findsOneWidget);
expect(find.byKey(nonEmptyWidgetKey), findsOneWidget);