From c27d1b3e4a440ed5acde5ab268e7157d5e294217 Mon Sep 17 00:00:00 2001 From: PJ Date: Tue, 2 Jun 2026 09:19:17 +0530 Subject: [PATCH] test(defaults): drop stale longPresses re-export assertion longPresses is opt-in vocabulary, no longer re-exported from defaults/actions.ts since e0d3b20; its builtin resolution is already covered by api.test.ts. Trim the defaults test to scrolls, which is an actual default export. --- pkg/spec/test/defaults.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/spec/test/defaults.test.ts b/pkg/spec/test/defaults.test.ts index c69807f..50c533d 100644 --- a/pkg/spec/test/defaults.test.ts +++ b/pkg/spec/test/defaults.test.ts @@ -59,10 +59,10 @@ test("typing resolves as a builtin node", async () => { assert.equal((typing as { verb: string }).verb, "typing"); }); -test("longPresses and scrolls resolve as builtin nodes", async () => { +test("scrolls resolves as a builtin node", async () => { installRuntime(emptyState); - const { longPresses, scrolls } = await import("../src/defaults/actions.ts"); - assert.equal((longPresses as { verb: string }).verb, "longPresses"); + const { scrolls } = await import("../src/defaults/actions.ts"); + assert.equal(scrolls.kind, "builtin"); assert.equal((scrolls as { verb: string }).verb, "scrolls"); });