Skip to content

Testing the Cloud API

Tests

s6pack comes with a sample Graphql Client App for testing. The tests run against the wewbStackDev stack in the cloud.

Example Application Test Setup in the cloud folder

  1. run npm update in the ./tests folder.
  2. Run Tests npm test
  3. Run Specific Test npm test -- -t stacks/web/app/tests/user.test.ts 'test name here'

Step Function Local Testing Setup