Skip to content

Commit 8000883

Browse files
authored
testing: fix controller test runs not getting tracked correctly (microsoft#173061)
* testing: fix controller test runs not getting tracked correctly Fixes microsoft#173014 * avoid build-breaking satisfies kw
1 parent e2816fe commit 8000883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/testing/common/testTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export interface ICallProfileRunHandler {
101101
testIds: string[];
102102
}
103103

104-
export const isStartControllerTests = (t: ICallProfileRunHandler | IStartControllerTests): t is IStartControllerTests => 'runIn' in t;
104+
export const isStartControllerTests = (t: ICallProfileRunHandler | IStartControllerTests): t is IStartControllerTests => ('runId' as keyof IStartControllerTests) in t;
105105

106106
/**
107107
* Request from the main thread to run tests for a single controller.

0 commit comments

Comments
 (0)