Skip to content

Commit 9f3329c

Browse files
committed
Fix: Update context menu test and webview-ui lint script
1 parent a03f34b commit 9f3329c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webview-ui/src/utils/__tests__/context-mentions.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,15 @@ describe("getContextMenuOptions", () => {
196196

197197
it("should return all option types for empty query", () => {
198198
const result = getContextMenuOptions("", "", null, [])
199-
expect(result).toHaveLength(6)
199+
expect(result).toHaveLength(7)
200200
expect(result.map((item) => item.type)).toEqual([
201201
ContextMenuOptionType.Problems,
202202
ContextMenuOptionType.Terminal,
203203
ContextMenuOptionType.URL,
204204
ContextMenuOptionType.Folder,
205205
ContextMenuOptionType.File,
206206
ContextMenuOptionType.Git,
207+
ContextMenuOptionType.Escape,
207208
])
208209
})
209210

0 commit comments

Comments
 (0)