Skip to content

Commit fa2fbb7

Browse files
test(mobile): type the same-name skill selection item
AI-assisted; verified with the tests and tools listed above.
1 parent 166a4ef commit fa2fbb7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎apps/mobile/src/features/threads/use-composer-command-menu.test.ts‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,13 @@ describe("mobile slash commands", () => {
115115
resolveComposerCommandSelection({
116116
draftMessage: "$rev",
117117
trigger: { rangeStart: 0, rangeEnd: 4 },
118-
item: { id: `skill:${skill.path}`, type: "skill", skill, label: skill.name },
118+
item: {
119+
id: `skill:${skill.path}`,
120+
type: "skill",
121+
skill,
122+
label: skill.name,
123+
description: "",
124+
},
119125
skills,
120126
}).text;
121127
expect(skills.map(select)).toEqual([

0 commit comments

Comments
 (0)