mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
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:
1 parent
26a318a8ef
commit
c27d1b3e4a
1 file changed
+3
-3
@@ -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");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user