Skip to content

Amplifiyer/aws-sdk-js-tests

 
 

Repository files navigation

aws-sdk-js-tests

Code Sample for testing AWS JS SDK

Steps to test:

  • Fork this repo, and clone your fork
  • Create a local branch in your workspace
  • Add the code for testing AWS JS SDK v2/v3
  • Push code to remote branch on your fork, and share the code for reproducing

Example test for data returned by DynamoDB client:

  • Checkout master branch: git checkout master
  • Run yarn to install dependencies

Node.js:

  • Update REGION in src/config.js
  • Run node src/node.js to run both v2 and v3 clients in Node.js
  • Note that responses returned by clients will be printed in console

Browser:

  • Go through the following steps if you don't have resources created
  • Run yarn watch to create the browser bundle and watch for changes
  • Open index.html in your browser, and note the responses printed on the page
  • The command will watch for changes in files, and update bundle. Reload the webpage to view the changes applied.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.8%
  • HTML 5.2%