typescript: Fix handling of jest/vitest tests with regex characters in name (#35090)

Closes #35065

Release Notes:

- JavaScript/TypeScript tasks: Fixed handling of Vitest/Jest tests with
regex-specific characters in their name.
57b463fd0dPiotr Osiewicz committed on 7/25/2025, 12:23:52 PM· committed by GitHubparent631f9a1
1 file changedLine totals unavailable