Skip to content

Commit 18d01bf

Browse files
authored
Don't skip tests named *Fourslash.ts
1 parent af3e1d4 commit 18d01bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testRunner/fourslashRunner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace Harness {
5252
const testIndex = fn.indexOf("tests/");
5353
if (testIndex >= 0) fn = fn.substr(testIndex);
5454

55-
if (justName && !justName.match(/fourslash\.ts$/i) && !justName.match(/\.d\.ts$/i)) {
55+
if (justName !== "fourslash.ts") {
5656
it(this.testSuiteName + " test " + justName + " runs correctly", () => {
5757
FourSlash.runFourSlashTest(this.basePath, this.testType, fn);
5858
});

0 commit comments

Comments
 (0)