We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f240caf commit 04e78dcCopy full SHA for 04e78dc
test/flutter_test_config.dart
@@ -0,0 +1,12 @@
1
+import 'dart:async';
2
+
3
+import 'package:flutter_test/flutter_test.dart';
4
5
+Future<void> testExecutable(FutureOr<void> Function() testMain) async {
6
+ // Enable these checks. See this property's doc, which is basically
7
+ // an apology for the fact that (for historical reasons) it isn't
8
+ // the default.
9
+ WidgetController.hitTestWarningShouldBeFatal = true;
10
11
+ await testMain();
12
+}
0 commit comments