git-subtree-dir: apps/mobile git-subtree-mainline:11490df648git-subtree-split:c7bc4fea56
18 lines
651 B
Dart
18 lines
651 B
Dart
// This is a basic Flutter widget test.
|
|
//
|
|
// To perform an interaction with a widget in your test, use the WidgetTester
|
|
// utility in the flutter_test package. For example, you can send tap and scroll
|
|
// gestures. You can also use WidgetTester to find child widgets in the widget
|
|
// tree, read text, and verify that the values of widget properties are correct.
|
|
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
import 'package:nomadcode_app/main.dart';
|
|
|
|
void main() {
|
|
testWidgets('App renders project name', (WidgetTester tester) async {
|
|
await tester.pumpWidget(const MyApp());
|
|
|
|
expect(find.text('nomadcode-app'), findsOneWidget);
|
|
});
|
|
}
|