feat(tests): test coverage is 70.4

This commit is contained in:
misha
2026-01-23 12:40:17 +03:00
parent f6809a06b3
commit 92205c09d6
38 changed files with 1829 additions and 133 deletions

View File

@@ -17,6 +17,17 @@ void main() {
await tester.pump();
expect(find.byType(Loader), findsOneWidget);
expect(find.byType(Center), findsOneWidget);
expect(find.byType(SizedBox), findsWidgets);
});
testWidgets('renders loader with correct dimensions', (tester) async {
await tester.pumpWidget(wrap(const Loader()));
await tester.pump();
final sizedBox = tester.widget<SizedBox>(find.byType(SizedBox).first);
expect(sizedBox.height, 42);
expect(sizedBox.width, 42);
});
});
}