Skip to content

Write in-memory mock integration tests for indexer_metrics_collector #342

Description

@francisdouglas-ux

Problem & Goal

Implement Jest database test coverage simulating RPC events inside indexer_metrics_collector.

Context & Components

  • Target Repository: escrow-backend
  • Module/Component: indexer_metrics_collector (Poller performance telemetry tracker)

Implementation Details

  1. Review the existing codebase inside the escrow-backend directory.
  2. Locate the source files relating to indexer_metrics_collector.
  3. Implement the feature logic/validation rules step-by-step.
  4. Ensure code conforms to codebase patterns (lints, formats, types).

Verification & Testing Requirements

  • Validation check: Confirm all simulated events write successfully to the database schema.
  • Add comprehensive test cases matching these validation requirements.
  • Ensure all other existing project tests continue to compile and pass.

Note: This issue is completely self-contained and does not block or require any other issues to be resolved.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions