Skip to content

Commit 24683f3

Browse files
committed
Adjust command lint tests
1 parent 7db84b0 commit 24683f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

extensions/ql-vscode/test/unit-tests/command-lint.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ describe("commands declared in package.json", () => {
6565
contribContextMenuCmds.add(command);
6666
});
6767

68+
menus["view/item/context"].forEach((commandDecl: CmdDecl) => {
69+
const { command } = commandDecl;
70+
paletteCmds.delete(command);
71+
scopedCmds.add(command);
72+
});
73+
6874
debuggers.forEach((debuggerDecl: DebuggerDecl) => {
6975
if (debuggerDecl.variables !== undefined) {
7076
for (const command of Object.values(debuggerDecl.variables)) {

0 commit comments

Comments
 (0)