mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 14:01:38 +01:00
testing: add basic coverage introspection to testObserver APIs (#226211)
* testing: add basic coverage introspection to testObserver APIs * fix build
This commit is contained in:
@@ -102,6 +102,12 @@ declare module 'vscode' {
|
||||
* were passed in the {@link tests.runTests} method.
|
||||
*/
|
||||
readonly results: ReadonlyArray<Readonly<TestResultSnapshot>>;
|
||||
|
||||
/**
|
||||
* Gets coverage information for a URI. This function is available only
|
||||
* when a test run reported coverage.
|
||||
*/
|
||||
getDetailedCoverage?(uri: Uri, token?: CancellationToken): Thenable<FileCoverageDetail[]>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user