mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
testing: update test types for feedback
This commit is contained in:
@@ -145,7 +145,7 @@ export class InvalidTestItemError extends Error {
|
||||
}
|
||||
}
|
||||
|
||||
export type TestItemCollectionImpl = vscode.TestItemCollection & { toJSON(): readonly TestItemImpl[] };
|
||||
export type TestItemCollectionImpl = vscode.TestItemCollection & { toJSON(): readonly TestItemImpl[] } & Iterable<TestItemImpl>;
|
||||
|
||||
export const createTestItemCollection = (owningItem: TestItemImpl): TestItemCollectionImpl => {
|
||||
const api = getPrivateApiFor(owningItem);
|
||||
|
||||
Reference in New Issue
Block a user