From 2363699a259f384bf6658c44773ab7a14fc588be Mon Sep 17 00:00:00 2001 From: Matt Carvin <90224411+mcarvin8@users.noreply.github.com> Date: Sun, 20 Oct 2024 11:08:11 -0400 Subject: [PATCH] fix: ignore cases on test name regex --- src/helpers/readers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/readers.ts b/src/helpers/readers.ts index 68135bb..d4c4dd4 100644 --- a/src/helpers/readers.ts +++ b/src/helpers/readers.ts @@ -7,7 +7,7 @@ import { queue } from 'async'; import { parseTestsNames, parseTestSuiteFile, parseTestSuitesNames } from './parsers.js'; import { SearchResult } from './types.js'; -const TEST_NAME_REGEX = /(@Tests).+/g; +const TEST_NAME_REGEX = /(@tests).+/gi; const TEST_SUITE_NAME_REGEX = /(@testsuites).+/gi; const TEST_CLASS_ANNOTATION_REGEX = /@istest\n(private|public|global)/gi;