Skip to content

End-to-End Integration Tests for Claim Verification Lifecycle #238

@Cedarich

Description

@Cedarich

Complexity Score: 150

Description

Create comprehensive tests that cover the entire flow from claim request to onchain disbursement.

Requirements

  • Use Supertest for API endpoint testing.
  • Mock the Stellar SDK and OpenAI API for deterministic tests.
  • Test the full lifecycle: Create Claim -> Enqueue Verification -> AI Success -> Onchain Package Create -> Disburse.
  • Verify database state and audit logs at each step.

Tech Stack

  • NestJS, Jest, Supertest, Mocking libraries.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions