Testing Track • Beginner • 2 mins review

Test: Add CSV header formatter coverage

Adds a small unit test for the CSV formatter so the export code feels less risky to touch.

Scenario Goal & Context

Goal: Assert that the formatter returns the expected CSV header string for a simple input.

Background: A recent export regression changed the CSV headers and the team wants a quick unit test around that helper.

Changed Files (1)

  • test/utils/formatCsvHeader.test.ts +4 -0

Ready to practice reviewing this PR?

Open this scenario inside the interactive DiffSense simulator to leave inline comments and receive an automated score.

Start Review Session