Skip to content

Add Live API Testing #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Add Live API Testing #121

wants to merge 8 commits into from

Conversation

45930
Copy link
Collaborator

@45930 45930 commented May 8, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant