Skip to content

[TEST] [router] Record Soroswap response fixtures #1084

Description

@determined-001

Description
tests/hop-swap-soroswap.spec.ts is the only swap test and the connector has no recorded responses, so any deeper test would depend on a third-party API being up.
Requirements

  • Record real Soroswap quote and route responses as fixtures, including at least one error shape.
  • Note when they were captured.

Acceptance Criteria

  • Swap tests can run with the network unplugged.

Estimated File Changes: 3 (tests/fixtures/soroswap/*, a loader)


Filed from batch-readiness.md · R46

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programdifficulty/intermediate~1 day of work. Touches one module. No cross-cutting concerns.module/routerlib/router/* — solver, path selection, split routing.size/mChange set is ~200–500 lines.testAdds or changes tests. No production behaviour change.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions