testing: allow canceling test refresh

This commit is contained in:
Connor Peet
2022-01-10 15:08:53 -08:00
parent c2a6eab566
commit fe0e9a96d3
11 changed files with 101 additions and 35 deletions

View File

@@ -2160,7 +2160,7 @@ export interface ExtHostTestingShape {
/** Configures a test run config. */
$configureRunProfile(controllerId: string, configId: number): void;
/** Asks the controller to refresh its tests */
$refreshTests(controllerId: string): Promise<void>;
$refreshTests(controllerId: string, token: CancellationToken): Promise<void>;
}
export interface ITestControllerPatch {