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.
This commit is contained in:
pj committed 2026-06-02 09:19:17 +05:30
1 parent 26a318a8ef
commit c27d1b3e4a
1 file changed
+3 -3
+3 -3
View File
@@ -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");
});