Archive-Node-API
Archive-Node-API copied to clipboard
Add Live API Testing
We need to inject the following variables into these new tests:
process.env.STAGING_GRAPHQL_ENDPOINT- URL of the staging graphQL API that we deploy with our code changes
process.env.PG_CONN- Postgres connection string to query blocks from
- This is only needed so that we can identify pending blocks with events and actions and test queries that specifically interact with pending data.
- The tests are useful, even if we only use stable canonical fixtures, but pending would be much better coverage