Unverified Commit 81953870 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

fix devicelab tests (#36717)

parent 3fedb8cb
......@@ -231,7 +231,9 @@ class WebCompileTest {
'-v',
'--release',
'--no-pub',
]);
], environment: <String, String>{
'FLUTTER_WEB': 'true',
});
final String output = '${flutterDirectory.path}/examples/hello_world/build/web/main.dart.js';
await _measureSize('hello_world', output, metrics);
return null;
......@@ -243,7 +245,9 @@ class WebCompileTest {
'-v',
'--release',
'--no-pub',
]);
], environment: <String, String>{
'FLUTTER_WEB': 'true',
});
final String output = '${flutterDirectory.path}/examples/flutter_gallery/build/web/main.dart.js';
await _measureSize('flutter_gallery', output, metrics);
return null;
......@@ -262,7 +266,9 @@ class WebCompileTest {
'-v',
'--release',
'--no-pub',
]);
], environment: <String, String>{
'FLUTTER_WEB': 'true',
});
await _measureSize('basic_material_app', path.join(sampleDir.path, 'build/web/main.dart.js'), metrics);
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment