andre482_O-tie/tests
Andre482 a784ad5851 Fix inline-edit cancel, lenient file/view validation, and filename hardening
- Inline edit: add one-shot guard so Enter commits once (no duplicate
  undo/render) and Escape reliably cancels instead of saving via blur.
- validateBowtie: normalize threats/consequences missing barrier arrays or
  labels instead of throwing and flagging recoverable files as malformed.
- deserializeBowtie: sanitize and clamp view zoom/pan to avoid an invisible
  canvas and Infinity divide during export.
- Add shared sanitizeBaseName: strip control/leading/trailing dot chars,
  reject bare dot names, and escape Windows reserved names; reuse for new
  file and PNG export names.
- Add model tests for the above.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 19:46:47 +03:00
..
layout.test.ts Release 1.0.8: Pan from anywhere on touch, keyboard selection, and quality audit. 2026-06-27 19:26:42 +03:00
model.test.ts Fix inline-edit cancel, lenient file/view validation, and filename hardening 2026-06-27 19:46:47 +03:00
panZoom.test.ts Release 1.0.8: Pan from anywhere on touch, keyboard selection, and quality audit. 2026-06-27 19:26:42 +03:00