test(ui-input-trigger): cover the onHover slot wiring; restore master's notices

The merge resolution had reverted THIRD_PARTY_NOTICES.md to the SDK 0.3.220
rows; the lockfile pins 0.3.241, so CI regenerated a mismatch. The apply spec
now drives the injected onHover face, closing the per-file coverage gap on
src/client/index.ts.
This commit is contained in:
Yif
2026-08-26 22:10:58 +08:00
parent 9ec543c943
commit 36dd657c7e
2 changed files with 12 additions and 9 deletions
@@ -84,6 +84,9 @@ describe('apply', () => {
// The pick face routes into the controller pipeline (closed menu → no-op).
injected.onPick('command', 0)
expect(controller.menu.getSnapshot().open).toBe(false)
// The hover face routes into the controller too (closed menu → no-op).
injected.onHover('command', 0)
expect(controller.menu.getSnapshot().open).toBe(false)
// The dismiss face routes into the controller too (closed menu → no-op).
injected.onDismiss()
expect(controller.menu.getSnapshot().open).toBe(false)