Skip to content

Commit

Permalink
Update packages/storage/amplify_storage_s3/example/integration_test/d…
Browse files Browse the repository at this point in the history
…ownload_file_test.dart

Co-authored-by: Jordan Nelson <nejrd@amazon.com>
  • Loading branch information
khatruong2009 and Jordan-Nelson committed Apr 19, 2024
1 parent 5c6d35f commit d9746a8
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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);
Expand Down

0 comments on commit d9746a8

Please sign in to comment.