mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
testing: api feedback
This commit is contained in:
@@ -158,6 +158,11 @@ const createTestItemCollection = (owningItem: TestItemImpl): TestItemCollectionI
|
||||
let mapped = new Map<string, TestItemImpl>();
|
||||
|
||||
return {
|
||||
/** @inheritdoc */
|
||||
get size() {
|
||||
return mapped.size;
|
||||
},
|
||||
|
||||
/** @inheritdoc */
|
||||
forEach(callback: (item: vscode.TestItem, collection: vscode.TestItemCollection) => unknown, thisArg?: unknown) {
|
||||
for (const item of mapped.values()) {
|
||||
|
||||
Reference in New Issue
Block a user