Convert refresh to return a promise

This commit is contained in:
Robert
2023-05-25 17:36:44 +01:00
parent 5a2cb8bc41
commit 5405b1bf29
5 changed files with 12 additions and 10 deletions

View File

@@ -115,7 +115,7 @@ export class QLTestAdapter extends DisposableObject implements TestAdapter {
this.qlTestDiscovery = this.push(
new QLTestDiscovery(workspaceFolder, cliServer),
);
this.qlTestDiscovery.refresh();
void this.qlTestDiscovery.refresh();
this.push(this.qlTestDiscovery.onDidChangeTests(this.discoverTests, this));
}