molecule-core/canvas/src
Molecule AI Fullstack Engineer 9279f9292b
Some checks failed
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 11s
sop-tier-check / tier-check (pull_request) Failing after 12s
audit-force-merge / audit (pull_request) Has been skipped
fix(canvas/test): Spinner tests use getAttribute for SVG className
SVG elements in jsdom expose className as SVGAnimatedString (an object),
not a plain string. Calling toContain() on an object produces a confusing
"expected [] to include" error. Fix: use getAttribute("class") instead.

Also adds afterEach(cleanup) for DOM isolation between tests.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-10 21:22:44 +00:00
..
__tests__
app fix(canvas): text-ink-soft → text-ink-mid for WCAG AA contrast 2026-05-09 23:18:14 +00:00
components fix(canvas/test): Spinner tests use getAttribute for SVG className 2026-05-10 21:22:44 +00:00
hooks fix(deploy-modal): snap provider radio when model resolves to a provider 2026-05-02 19:01:13 -07:00
lib test(canvas): add structural tests for TIER_CONFIG and COMM_TYPE_LABELS 2026-05-10 05:51:40 +00:00
store test(canvas): add pure-function tests for resolveRuntime and canvas-topology utilities 2026-05-10 04:46:28 +00:00
stores
styles feat(canvas+platform): chat attachments, model selection, deploy/delete UX 2026-04-24 13:27:51 -07:00
types
middleware.ts