Don't skip tests named *Fourslash.ts (#48615)

This commit is contained in:
Jack Bates
2022-04-11 11:45:44 -07:00
committed by GitHub
parent dfb9f2f953
commit c1db699482
2 changed files with 5 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ namespace Harness {
const testIndex = fn.indexOf("tests/");
if (testIndex >= 0) fn = fn.substr(testIndex);
if (justName && !justName.match(/fourslash\.ts$/i) && !justName.match(/\.d\.ts$/i)) {
if (justName !== "fourslash.ts") {
it(this.testSuiteName + " test " + justName + " runs correctly", () => {
FourSlash.runFourSlashTest(this.basePath, this.testType, fn);
});