forked from eatvio/eatvio_app
test(test): Added sample smoke test
This commit is contained in:
16
test/auth_test.dart
Normal file
16
test/auth_test.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:eatvio_app/presentation/auth/auth_screen/auth_screen.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('AuthScreen Smoke Test', (WidgetTester tester) async {
|
||||
// Создаем и загружаем виджет AuthScreen
|
||||
await tester.pumpWidget(MaterialApp(
|
||||
home: Builder(
|
||||
builder: (context) {
|
||||
return AuthScreen.builder(context);
|
||||
},
|
||||
),
|
||||
));
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user