mirror of
https://github.com/flutter/samples.git
synced 2026-03-30 00:02:02 +00:00
[testing_app] Fix failing integration tests (#756)
This commit is contained in:
committed by
GitHub
parent
5adf66ba65
commit
59b50ec010
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user