forked from eatvio/eatvio_app
feat: introduce DiaryCubit for managing user diary and diet plans, and add new unit tests for various features.
This commit is contained in:
@@ -244,7 +244,8 @@ void main() {
|
||||
await tester.pump();
|
||||
|
||||
// Assert
|
||||
expect(find.text('Закончить день'), findsOneWidget);
|
||||
// Теперь на экране 2 текста "Закончить день": один на кнопке, другой в заголовке bottom sheet
|
||||
expect(find.text('Закончить день'), findsNWidgets(2));
|
||||
});
|
||||
|
||||
testWidgets('should display MealWidget with mood rating when showMood is true', (WidgetTester tester) async {
|
||||
|
||||
Reference in New Issue
Block a user