Archive-Node-API icon indicating copy to clipboard operation
Archive-Node-API copied to clipboard

Add Live API Testing

Open 45930 opened this issue 6 months ago • 0 comments

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

45930 avatar May 08 '25 02:05 45930