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.
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
Per CONTRIBUTING.md: one concern, tests required for behaviour changes. CI gate:
cargo fmt/cargo clippy --all-targets -- -D warnings/cargo testfor Rust,npm run buildfor the sdk/app.