mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
b849ac217d
Plain bun tests with a fake ModelContext cover registration, abort, StrictMode double attach, in-place handler swaps, duplicate-name skipping, the envelope (throws, undefined, cycles, schema errors), watermarks and tombstones, every nudge code, the anchoring cascade, the ownership rule, requestId idempotency, windowing, hints, name and description budgets, and the absence of decision verbs. DOM-gated tests (listed explicitly in test.yml) pin mount/unmount and toggle behavior through useToolset and useDocumentWebMcp, panel threading, and the indicator-only-after-first-call policy. iframeIsolation.test.ts pins at source level that the srcdoc viewer keeps sandbox=allow-scripts with no allow attribute, the live-app iframe gets no allow=tools, and the bridge never references the entry point.