Skip to content

Add test coverage for indexer/export-csv.mjs #335

Description

@Spagero763

Context

The CSV export script has no tests. See indexer/export-csv.mjs and the existing test style in indexer/index.test.mjs.

Acceptance criteria

  • A test runs the export against a small fixture of indexed events and asserts the CSV output (header, row count, correct field values).

Per CONTRIBUTING.md: one concern, tests required for behaviour changes. CI gate: cargo fmt / cargo clippy --all-targets -- -D warnings / cargo test for Rust, npm run build for the sdk/app.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26help wantedExtra attention is neededjavascriptPull requests that update javascript code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions