1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-30 08:11:40 +00:00

[testing_app] Fix failing integration tests (#756)

This commit is contained in:
Abdullah Deshmukh
2021-03-07 11:35:34 +05:30
committed by GitHub
parent 5adf66ba65
commit 59b50ec010
4 changed files with 83 additions and 117 deletions

View File

@@ -4,20 +4,4 @@
import 'package:integration_test/integration_test_driver.dart';
Future<void> main() {
return integrationDriver(
responseDataCallback: (data) async {
// If the tests reported any data, save it to the disk.
if (data != null) {
for (var entry in data.entries) {
print('Writing ${entry.key} to the disk.');
// Default storage destination is the 'build' directory.
await writeResponseData(
entry.value as Map<String, dynamic>,
testOutputFilename: entry.key,
);
}
}
},
);
}
Future<void> main() => integrationDriver();