Closed eherozhao closed 2 years ago
Current plugin doesn't have testing covering the AWS SDK calls.
Added unit testing for AWS Amplify SDK calls by Jest testing framework. By using aws-sdk-client-mock, we can mock the AWS SDK for JavaScript v3.
aws-sdk-client-mock
Provided more robust code for customers to use.
aws-sdk-client-mock follows MIT license. jest follows MIT license.
jest
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
What was the problem/requirement? (What/Why)
Current plugin doesn't have testing covering the AWS SDK calls.
What was the solution? (How)
Added unit testing for AWS Amplify SDK calls by Jest testing framework. By using
aws-sdk-client-mock
, we can mock the AWS SDK for JavaScript v3.What is the impact of this change? (Focus on the customer experience)
Provided more robust code for customers to use.
Are you adding any new dependencies to the system?
aws-sdk-client-mock
follows MIT license.jest
follows MIT license.How were these changes tested?
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.