fix(canvas/test): use string keys in TIER_CONFIG toHaveProperty calls #435

Closed
app-fe wants to merge 1 commits from fix/canvas-tiers-config-string-keys into main

1 Commits

Author SHA1 Message Date
app-fe 62999efe08 fix(canvas/test): use string keys in TIER_CONFIG toHaveProperty calls
sop-tier-check / tier-check (pull_request) Successful in 19s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 30s
audit-force-merge / audit (pull_request) Has been skipped
Vitest's toHaveProperty is string-keyed; TypeScript strict mode with
noPropertyAccessFromIndexSignature rejects numeric literal keys on
Record<number, TIER_CONFIG_LEVEL>.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 09:04:57 +00:00