File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ // This is a basic Flutter widget test.
2+ //
3+ // To perform an interaction with a widget in your test, use the WidgetTester
4+ // utility in the flutter_test package. For example, you can send tap and scroll
5+ // gestures. You can also use WidgetTester to find child widgets in the widget
6+ // tree, read text, and verify that the values of widget properties are correct.
7+
8+ import 'package:flutter/material.dart' ;
9+ import 'package:flutter_test/flutter_test.dart' ;
10+
11+ import 'package:splitio_example/main.dart' ;
12+
13+ void main () {
14+ testWidgets ('SplitioExampleApp smoke test' , (WidgetTester tester) async {
15+ await tester.pumpWidget (const SplitioExampleApp ());
16+ // await tester.pump(const Duration(milliseconds: 100));
17+ expect (find.text ('split.io example app' ), findsOneWidget);
18+ });
19+ }
You can’t perform that action at this time.
0 commit comments