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