Local example Node API uptime test with Asserted
This example is referenced in a walkthrough about Node API Health Checks and Uptime
# Clone example
git clone https://github.com/assertedio/node-uptime
# Enter directory and install
cd node-uptime/
npm install
# Run asserted tests
npm run test:asrtd
In order to create your own tests in your own repo, you should create an account and follow the quick onboarding.
- Typically the
asrtd
command line tool is installed globally withnpm i -g asrtd
. - All code related to running the tests for Asserted should be in the
.asserted
directory.