apiTest is a node script for testing transactions on micro block api and anchor block api.
- npm installed and Node v16.*
- Stacks CLI on your machine @stacks/cli
- environment file that is stored on the root of the project
- Go to the root of the project and do
npm install
. Make sure you have satisfied the above Prerequisites. - Run all the test script:
$ npm run test
- Run the script for anchor block testing:
$ npm run triggerAnchorBlockTests
- Run the script for deploy test contract:
$ npm run triggerDeployTestContract
- Run the script for testing APIs for 404:
$ npm run api404Test