From 2cf7190dd49eb71a3f0e09e73185cc49f31a2916 Mon Sep 17 00:00:00 2001 From: David Sanders Date: Fri, 8 Nov 2024 11:27:26 -0800 Subject: [PATCH] fix: exclude test fixtures directory from test discovery --- src/tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests.ts b/src/tests.ts index e37fc92..e1b84fd 100644 --- a/src/tests.ts +++ b/src/tests.ts @@ -392,7 +392,7 @@ async function getElectronTests( if (!files) { files = await vscode.workspace.findFiles( new vscode.RelativePattern(electronRoot, `spec/**/*-spec.{js,ts}`), - "**/node_modules/**", + "{**/node_modules/**,**/spec/fixtures/**}", ); }