Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 2.26 KB

README.md

File metadata and controls

55 lines (36 loc) · 2.26 KB

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
  • Update the code for testing AWS JS SDK v2/v3
  • Push code to remote branch on your fork, and share the code for reproducing the issue

Pre-requisites

Example test for data returned by DynamoDB client:

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

Node.js:

  • Run yarn start:node to run both v2 and v3 clients in Node.js
  • The responses returned by clients will be printed in console, and will re-run when code is updated.
  • The file being run is at packages/node/src/index.js

Browser:

  • Run yarn start:web to start webpack-dev-server with HMR
  • The bundle will be opened in default browser, and get refreshed when code is updated.
  • The file being run is at packages/web/src/index.js

React Native:

iOS

  • Run yarn start:ios to start local development server with iOS using React Native CLI

Android

  • Run yarn start:android to start local development server with Android using React Native CLI

The react-native app in simulator/emulator will refresh when code is updated. The file being run is at packages/react-native/App.js

License

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