diff --git a/core/test/unit/src/vcs/git.ts b/core/test/unit/src/vcs/git.ts index 67e7934c2e5..d539334fea1 100644 --- a/core/test/unit/src/vcs/git.ts +++ b/core/test/unit/src/vcs/git.ts @@ -517,11 +517,6 @@ const commonGitHandlerTests = (gitScanMode: GitScanMode) => { */ for (const testParam of testParams) { it(testParam.name, async () => { - // FIXME - if (handler.name === "git-repo") { - return - } - // doesn't match file exclusion pattern -> should be included const notExcludedByFilename = resolve(tmpPath, "bar.txt") @@ -595,7 +590,9 @@ const commonGitHandlerTests = (gitScanMode: GitScanMode) => { it(testParam.name, async () => { // FIXME if (handler.name === "git-repo") { - return + if (testParam.name === "without globs" || testParam.name === "with prefix globs") { + return + } } // doesn't match file exclusion pattern -> should be included