Skip to content

Comments

fix: remove flaky API integration tests#962

Merged
TaprootFreak merged 3 commits intodevelopfrom
fix/remove-flaky-api-integration-tests
Feb 18, 2026
Merged

fix: remove flaky API integration tests#962
TaprootFreak merged 3 commits intodevelopfrom
fix/remove-flaky-api-integration-tests

Conversation

@TaprootFreak
Copy link
Collaborator

Summary

  • Remove src/__tests__/api/ directory containing integration tests that call dev.api.dfx.swiss directly
  • These tests cause intermittent CI failures (TypeError: Network request failed) when the dev API is slow or unreachable
  • Affected files: auth-api.test.ts, buy-api.test.ts, sell-api.test.ts, swap-api.test.ts, and helpers

Test plan

  • Verify CI passes without the removed tests
  • Verify remaining unit tests are unaffected

Remove tests that call dev.api.dfx.swiss directly, causing
intermittent CI failures due to network timeouts.
Remove test:api script, update test:all to use test instead,
and remove __tests__/api/helpers/ from testPathIgnorePatterns.
@TaprootFreak TaprootFreak merged commit f165b82 into develop Feb 18, 2026
6 checks passed
@TaprootFreak TaprootFreak deleted the fix/remove-flaky-api-integration-tests branch February 18, 2026 14:16
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