From d9746a814d079ec7e5e435c9f9b62e0e917def7f Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Fri, 19 Apr 2024 15:25:24 -0700 Subject: [PATCH] Update packages/storage/amplify_storage_s3/example/integration_test/download_file_test.dart Co-authored-by: Jordan Nelson --- .../example/integration_test/download_file_test.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/storage/amplify_storage_s3/example/integration_test/download_file_test.dart b/packages/storage/amplify_storage_s3/example/integration_test/download_file_test.dart index 9ab028e75d..abcfd1bc9e 100644 --- a/packages/storage/amplify_storage_s3/example/integration_test/download_file_test.dart +++ b/packages/storage/amplify_storage_s3/example/integration_test/download_file_test.dart @@ -80,6 +80,7 @@ void main() { localFile: AWSFile.fromPath(downloadFilePath), ).result; + // Web browsers do not grant access to read arbitrary files if (!kIsWeb) { final downloadedFile = await readFile(path: downloadFilePath); expect(downloadedFile, data);