make vscode.revealTestInExplorer an api command

This commit is contained in:
Connor Peet
2021-09-01 16:53:38 -07:00
parent ae9c0c6a32
commit aac4d02082
5 changed files with 14 additions and 6 deletions

View File

@@ -422,6 +422,12 @@ const newCommands: ApiCommand[] = [
[ApiCommandArgument.TypeHierarchyItem],
new ApiCommandResult<ITypeHierarchyItemDto[], types.TypeHierarchyItem[]>('A TypeHierarchyItem or undefined', v => v.map(typeConverters.TypeHierarchyItem.to))
),
// --- testing
new ApiCommand(
'vscode.revealTestInExplorer', '_revealTestInExplorer', 'Reveals a test instance in the explorer',
[ApiCommandArgument.TestItem],
ApiCommandResult.Void
)
];
//#endregion