fixed flutter pub get failure in tests (#55499)

This commit is contained in:
Anna Gringauze 2020-04-24 09:09:01 -07:00 committed by GitHub
parent 4844a3335b
commit 873b21ec04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,7 @@ abstract class Project {
writeFile(globals.fs.path.join(dir.path, 'test', 'test.dart'), test);
}
writeFile(globals.fs.path.join(dir.path, 'web', 'index.html'), _kDefaultHtml);
writePackages(dir.path);
await getPackages(dir.path);
}