testing: api feedback

This commit is contained in:
Connor Peet
2021-07-21 15:19:56 -07:00
parent 2bc4f8f94b
commit 38e09192c0
6 changed files with 165 additions and 162 deletions

View File

@@ -2147,7 +2147,7 @@ export interface MainThreadTestingShape {
/** Updates the state of a test run in the given run. */
$updateTestStateInRun(runId: string, taskId: string, testId: string, state: TestResultState, duration?: number): void;
/** Appends a message to a test in the run. */
$appendTestMessageInRun(runId: string, taskId: string, testId: string, message: ITestMessage): void;
$appendTestMessagesInRun(runId: string, taskId: string, testId: string, messages: ITestMessage[]): void;
/** Appends raw output to the test run.. */
$appendOutputToRun(runId: string, taskId: string, output: VSBuffer): void;
/** Triggered when coverage is added to test results. */