mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
@@ -1728,6 +1728,8 @@ export namespace TestItem {
|
||||
|
||||
export function toPlain(item: ITestItem): Omit<vscode.TestItem, 'children' | 'invalidate' | 'discoverChildren'> {
|
||||
return {
|
||||
parent: undefined,
|
||||
error: undefined,
|
||||
id: TestId.fromString(item.extId).localId,
|
||||
label: item.label,
|
||||
uri: URI.revive(item.uri),
|
||||
|
||||
@@ -3328,9 +3328,9 @@ export enum TestRunProfileKind {
|
||||
@es5ClassCompat
|
||||
export class TestRunRequest implements vscode.TestRunRequest {
|
||||
constructor(
|
||||
public readonly include?: vscode.TestItem[],
|
||||
public readonly exclude?: vscode.TestItem[] | undefined,
|
||||
public readonly profile?: vscode.TestRunProfile,
|
||||
public readonly include: vscode.TestItem[] | undefined = undefined,
|
||||
public readonly exclude: vscode.TestItem[] | undefined = undefined,
|
||||
public readonly profile: vscode.TestRunProfile | undefined = undefined,
|
||||
) { }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user