aws-amplify / amplify-js

A declarative JavaScript library for application development using cloud services.
https://docs.amplify.aws/lib/q/platform/js
Apache License 2.0
9.44k stars 2.13k forks source link

test(storage): refactor unit tests for public & internal facade #13955

Closed AllanZhengYP closed 3 weeks ago

AllanZhengYP commented 4 weeks ago

Description of changes

Refactor the unit test to better reflect the folder structure of storage category APIs. Now Storage package supports 3 facades of APIs via a single implementation. They are

All the facades above are calling the implementation path src/providers/s3/apis/internal.

This change reflects the unit tests to the implementation folder structure accordingly.

Issue #, if available

Description of how you validated changes

Checklist

Checklist for repo maintainers

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.