F
selfTest
Runs a running plugin's self-test, as the device matrix does after restarting it.
function selfTest(id: string): Promise<PluginSelfTestResult | undefined>Parameters
| Name | Type | Description |
|---|---|---|
| id | string | The plugin's id. |
Returns
Promise<PluginSelfTestResult | undefined>Its report, or undefined when it is not running or has no self-test; rejects with what the self-test threw.