[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

@@ -1126,13 +1126,13 @@ Future<void> _runFlutterWebTest(String workingDirectory, List<String> tests) asy
'--concurrency=1', // do not parallelize on Cirrus, to reduce flakiness
'-v',
'--platform=chrome',
'--sound-null-safety', // web tests do not autodetect yet.
...?flutterTestArgs,
...tests,
],
workingDirectory: workingDirectory,
environment: <String, String>{
'FLUTTER_WEB': 'true',
'FLUTTER_LOW_RESOURCE_MODE': 'true',
},
);
}