We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e141f0 commit 4ce4a21Copy full SHA for 4ce4a21
packages/go_router_builder/pubspec.yaml
@@ -27,6 +27,7 @@ dev_dependencies:
27
flutter:
28
sdk: flutter
29
go_router: ^14.0.0
30
+ leak_tracker_flutter_testing: ">=3.0.0"
31
test: ^1.20.0
32
33
topics:
packages/go_router_builder/test/flutter_test_config.dart
@@ -0,0 +1,13 @@
1
+// Copyright 2013 The Flutter Authors. All rights reserved.
2
+// Use of this source code is governed by a BSD-style license that can be
3
+// found in the LICENSE file.
4
+
5
+import 'dart:async';
6
7
+import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart';
8
9
+Future<void> testExecutable(FutureOr<void> Function() testMain) async {
10
+ LeakTesting.enable();
11
+ LeakTracking.warnForUnsupportedPlatforms = false;
12
+ await testMain();
13
+}
0 commit comments