mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

This enables support for a `flutter_test_config.dart` configuration file, which will be discovered and handed the responsibility of running the test file (thus allowing it to run pre-test setup on a project level). https://github.com/flutter/flutter/issues/16859
12 lines
333 B
Dart
12 lines
333 B
Dart
// Copyright 2018 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
import 'dart:async';
|
|
|
|
void main(FutureOr<void> testMain()) async {
|
|
await runZoned<dynamic>(testMain, zoneValues: <Type, String>{
|
|
String: '/test_config',
|
|
});
|
|
}
|