From 7b20842853453b7f02f03eb89e0f32f8e6944f0f Mon Sep 17 00:00:00 2001 From: maxxkim Date: Thu, 7 Mar 2024 11:57:27 +0300 Subject: [PATCH] test(diary) App launch test --- test/launch_test.dart | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/launch_test.dart diff --git a/test/launch_test.dart b/test/launch_test.dart new file mode 100644 index 00000000..4f1eafee --- /dev/null +++ b/test/launch_test.dart @@ -0,0 +1,15 @@ +import 'package:flutter_test/flutter_test.dart'; +import 'package:eatvio_app/main.dart' as app; + +void main() { + testWidgets('Smoke test', (WidgetTester tester) async { + // Запустить приложение + app.main(); + + // Подождать, пока приложение загрузится + await tester.pumpAndSettle(); + + // Проверить, что нет ошибок + expect(tester.takeException(), isNull); + }); +}