[flutter_tools] run web unit tests in sound null safety (#70799)

This commit is contained in:
Jonah Williams
2020-11-19 16:49:05 -08:00
committed by GitHub
parent 6d521e9aff
commit a76289bb1b
10 changed files with 94 additions and 74 deletions

View File

@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import 'dart:js' as js;
import 'package:flutter_driver/src/extension/_extension_web.dart';
@@ -10,7 +9,7 @@ import 'package:flutter_test/flutter_test.dart';
void main() {
group('test web_extension', () {
Future<Map<String, dynamic>> Function(Map<String, String>) call;
late Future<Map<String, dynamic>> Function(Map<String, String>) call;
setUp(() {
call = (Map<String, String> args) async {