add missing config to create (#36727)

This commit is contained in:
Jonah Williams
2019-07-22 19:48:55 -07:00
committed by GitHub
parent e5ea996a1f
commit c4cab5dc92

View File

@@ -258,7 +258,9 @@ class WebCompileTest {
rmTree(sampleDir);
await inDirectory<void>(Directory.systemTemp, () async {
await flutter('create', options: <String>['--template=app', '--web', sampleAppName]);
await flutter('create', options: <String>['--template=app', '--web', sampleAppName], environment: <String, String>{
'FLUTTER_WEB': 'true',
});
await inDirectory(sampleDir, () async {
await flutter('packages', options: <String>['get']);
await evalFlutter('build', options: <String>[