File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ const MAX_TEST_DURATION_SECS = 24 * 60 * 60;
1212// Can stay for now as it is not a breaking change
1313const serverVersion = '0.0.28' ;
1414
15- void initializeTest ({Widget ? app, Function ? callback}) async {
15+ Future < void > initializeTest ({Widget ? app, Function ? callback}) async {
1616 IntegrationTestWidgetsFlutterBinding binding =
17- AppiumTestWidgetsFlutterBinding .ensureInitialized ();
17+ AppiumTestWidgetsFlutterBinding .ensureInitialized ();
1818
1919 if (app == null && callback == null ) {
2020 throw Exception ("App and callback cannot be null" );
@@ -39,4 +39,5 @@ void initializeTest({Widget? app, Function? callback}) async {
3939 // To block the test from ending
4040 await Completer <void >().future;
4141 }, timeout: const Timeout (Duration (seconds: MAX_TEST_DURATION_SECS )));
42+ return ;
4243}
You can’t perform that action at this time.
0 commit comments