Skip to content

test: cover preferred export format hook#634

Open
saurabhhhcodes wants to merge 1 commit into
utksh1:mainfrom
saurabhhhcodes:test/preferred-export-format-559
Open

test: cover preferred export format hook#634
saurabhhhcodes wants to merge 1 commit into
utksh1:mainfrom
saurabhhhcodes:test/preferred-export-format-559

Conversation

@saurabhhhcodes
Copy link
Copy Markdown
Contributor

Summary

  • add direct unit coverage for usePreferredExportFormat
  • assert empty default state, stored preference restoration, and savePreference persistence
  • keep the coverage isolated from page-level report components

Fixes #559

Validation

  • npm test -- --run testing/unit/hooks/usePreferredExportFormat.test.ts
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TEST] Add usePreferredExportFormat hook coverage

1 participant