diff --git a/src/zigTestRunnerProvider.ts b/src/zigTestRunnerProvider.ts index 2c0af84..683dd18 100644 --- a/src/zigTestRunnerProvider.ts +++ b/src/zigTestRunnerProvider.ts @@ -32,7 +32,6 @@ export default class ZigTestRunnerProvider { this.debugTests.bind(this), false, ); - void this.findAndRegisterTests(); } public activate(subscriptions: vscode.Disposable[]) { @@ -68,16 +67,6 @@ export default class ZigTestRunnerProvider { }); } - private async findAndRegisterTests() { - const files = await vscode.workspace.findFiles("**/*.zig"); - for (const file of files) { - try { - const doc = await vscode.workspace.openTextDocument(file); - this._updateTestItems(doc); - } catch {} - } - } - private _updateTestItems(textDocument: vscode.TextDocument) { if (textDocument.languageId !== "zig") return;