resolveHandler
A function provided by the extension that the editor may call to request children of a test item, if the TestItem.canResolveChildren is true
. When called, the item should discover children and call TestController.createTestItem as children are discovered.
Generally the extension manages the lifecycle of test items, but under certain conditions the editor may request the children of a specific item to be loaded. For example, if the user requests to re-run tests after reloading the editor, the editor may need to call this method to resolve the previously-run tests.
The item in the explorer will automatically be marked as "busy" until the function returns or the returned thenable resolves.
Parameters
An unresolved test item for which children are being requested, or undefined
to resolve the controller's initial items.