Skip to content

Commit

Permalink
chore: import testControllerId
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Feb 19, 2024
1 parent 50b2169 commit d447675
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
detectVitestEnvironmentFolders,
getConfig,
getVitestWorkspaceConfigs,
testControllerId,
vitestEnvironmentFolders,
} from './config'
import { TestFileDiscoverer } from './discover'
Expand All @@ -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
Expand Down

0 comments on commit d447675

Please sign in to comment.