Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 769 Bytes

readme.md

File metadata and controls

27 lines (24 loc) · 769 Bytes

apiTest

apiTest is a node script for testing transactions on micro block api and anchor block api.

Prerequisites

  • npm installed and Node v16.*
  • Stacks CLI on your machine @stacks/cli
  • environment file that is stored on the root of the project

Run script

  1. Go to the root of the project and do npm install. Make sure you have satisfied the above Prerequisites.
  2. Run all the test script:
    $ npm run test
  3. Run the script for anchor block testing:
    $ npm run triggerAnchorBlockTests
  4. Run the script for deploy test contract:
    $ npm run triggerDeployTestContract
  5. Run the script for testing APIs for 404:
$ npm run api404Test