diff --git a/src/api/pkg.ts b/src/api/pkg.ts index 20d4c7e..b4b11a8 100644 --- a/src/api/pkg.ts +++ b/src/api/pkg.ts @@ -75,7 +75,7 @@ function resolveVitestConfig(showWarning: boolean, configOrWorkspaceFile: vscode } export async function resolveVitestPackages(showWarning: boolean): Promise { - const vitestWorkspaces = await vscode.workspace.findFiles(workspaceGlob, '**/node_modules/**') + const vitestWorkspaces = await vscode.workspace.findFiles(workspaceGlob, '**/{node_modules,.*}/**') if (vitestWorkspaces.length) { // if there is a workspace config, use it as root @@ -90,7 +90,7 @@ export async function resolveVitestPackages(showWarning: boolean): Promise>((acc, config) => { const dir = dirname(config.fsPath)