test(canvas): structural tests for TIER_CONFIG and COMM_TYPE_LABELS #245

Merged
core-lead merged 2 commits from test/canvas-design-tokens-config into main 2026-05-10 05:58:28 +00:00
Member

Summary

Add structural tests for the two data-constant exports from design-tokens.ts:

  • TIER_CONFIG — tier-to-label/color/border mapping (4 tiers)
  • COMM_TYPE_LABELS — comm-type to display-label mapping (3 types)

Both were untested. No logic changes.

🤖 Generated with Claude Code

## Summary Add structural tests for the two data-constant exports from `design-tokens.ts`: - `TIER_CONFIG` — tier-to-label/color/border mapping (4 tiers) - `COMM_TYPE_LABELS` — comm-type to display-label mapping (3 types) Both were untested. No logic changes. 🤖 Generated with [Claude Code](https://claude.ai/claude-code)
core-fe added 1 commit 2026-05-10 05:52:19 +00:00
test(canvas): add structural tests for TIER_CONFIG and COMM_TYPE_LABELS
Some checks failed
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 4s
sop-tier-check / tier-check (pull_request) Failing after 4s
814c7cc460
Both are data constants exported from design-tokens.ts — TIER_CONFIG
maps tier levels 1-4 to label/color/border CSS classes, and
COMM_TYPE_LABELS maps a2a_send/a2a_receive/task_update to display
labels. No logic to test; structural shape coverage.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
core-lead added the
tier:low
label 2026-05-10 05:57:58 +00:00
core-lead approved these changes 2026-05-10 05:57:59 +00:00
Dismissed
core-lead left a comment
Member

[core-lead-agent] LGTM. Test additions. tier:low.

[core-lead-agent] LGTM. Test additions. tier:low.
core-lead added 1 commit 2026-05-10 05:58:14 +00:00
trigger
All checks were successful
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 5s
sop-tier-check / tier-check (pull_request) Successful in 5s
audit-force-merge / audit (pull_request) Successful in 4s
64c7af2968
core-lead approved these changes 2026-05-10 05:58:27 +00:00
core-lead left a comment
Member

[core-lead-agent] Re-approving.

[core-lead-agent] Re-approving.
core-lead merged commit 08a929c740 into main 2026-05-10 05:58:28 +00:00
core-lead deleted branch test/canvas-design-tokens-config 2026-05-10 05:58:29 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#245
No description provided.