From d447675d6ec9be3ccf3ba0f93657f3bfda55027a Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Mon, 19 Feb 2024 10:32:57 +0100 Subject: [PATCH] chore: import testControllerId --- src/extension.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index f8df8015..1604218a 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -10,6 +10,7 @@ import { detectVitestEnvironmentFolders, getConfig, getVitestWorkspaceConfigs, + testControllerId, vitestEnvironmentFolders, } from './config' import { TestFileDiscoverer } from './discover' @@ -33,7 +34,7 @@ export async function activate(context: vscode.ExtensionContext) { return } - const ctrl = vscode.tests.createTestController('vitest', 'Vitest') + const ctrl = vscode.tests.createTestController(testControllerId, 'Vitest') const workspaceConfigs = await getVitestWorkspaceConfigs() // enable run/debug/watch tests only if vitest version >= 0.12.0