File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
packages/google_maps_flutter/google_maps_flutter Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ dependencies:
29
29
dev_dependencies :
30
30
flutter_test :
31
31
sdk : flutter
32
+ leak_tracker_flutter_testing : any
32
33
plugin_platform_interface : ^2.1.7
33
34
stream_transform : ^2.0.0
34
35
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments