Skip to content
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

feat: save api mocks #436

Merged
merged 13 commits into from
Jan 16, 2025
Merged

feat: save api mocks #436

merged 13 commits into from
Jan 16, 2025

Conversation

agualis
Copy link
Collaborator

@agualis agualis commented Jan 14, 2025

Introduces a mechanism to save pool mock files from API requests so that we can:

  • Use V3 sepolia pool mocks in integration tests, as that we don't rely on the production api that do not have sepolia pools.
  • Convert non-onchain integration tests into unit tests

The pool api mocks are automatically refreshed in before each local integration test run so that new pools mocks can be easily added and updated.

Copy link

vercel bot commented Jan 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mono-beets-test-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2025 6:38pm
mono-beets-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2025 6:38pm
mono-frontend-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2025 6:38pm
mono-test-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2025 6:38pm

@agualis agualis merged commit 3c56aae into main Jan 16, 2025
13 checks passed
@agualis agualis deleted the feat/saveApiMocks branch January 16, 2025 15:00
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.

2 participants