Skip to content

test: add unit tests for getEmptyFacets#401

Merged
gka merged 2 commits into
mainfrom
fix/types-facets
Feb 19, 2026
Merged

test: add unit tests for getEmptyFacets#401
gka merged 2 commits into
mainfrom
fix/types-facets

Conversation

@ljodea

@ljodea ljodea commented Feb 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add 11 unit tests for getEmptyFacets covering no marks, single/dual dimension faceting, empty fx+fy combinations, automatic marks, empty data, missing channels, full coverage, and multi-mark scenarios
  • Remove // TODO: write unit tests comment (now addressed)
  • This creates a regression safety net for facet logic, which caused issues in a previous type-fixing attempt

Test plan

  • All 11 new tests pass
  • Full test suite passes (628 tests, 79 files)
  • 0 svelte-check errors

🤖 Generated with Claude Code

- Add 11 unit tests for getEmptyFacets covering no marks, single/dual
  dimension faceting, empty fx+fy combinations, automatic marks,
  empty data, missing channels, full coverage, and multi-mark scenarios
- Remove TODO comment (now addressed)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@netlify

netlify Bot commented Feb 19, 2026

Copy link
Copy Markdown

Deploy Preview for svelteplot ready!

Name Link
🔨 Latest commit 85fef70
🔍 Latest deploy log https://app.netlify.com/projects/svelteplot/deploys/69978cce7d09010008ad883b
😎 Deploy Preview https://deploy-preview-401--svelteplot.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@gka gka merged commit f176a2a into main Feb 19, 2026
9 checks passed
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.

2 participants