Adjust command lint tests

This commit is contained in:
Nora
2023-06-23 13:36:42 +00:00
parent 7db84b0276
commit 24683f34de

View File

@@ -65,6 +65,12 @@ describe("commands declared in package.json", () => {
contribContextMenuCmds.add(command);
});
menus["view/item/context"].forEach((commandDecl: CmdDecl) => {
const { command } = commandDecl;
paletteCmds.delete(command);
scopedCmds.add(command);
});
debuggers.forEach((debuggerDecl: DebuggerDecl) => {
if (debuggerDecl.variables !== undefined) {
for (const command of Object.values(debuggerDecl.variables)) {