I was writing a utility to detect test files for various javascript test frameworks. Was trying to use the glob pattern mentioned here
https://playwright.dev/docs/api/class-testconfig#test-config-test-match, but it seems the pattern **/*.@(spec|test).?(c|m)[jt]s?(x) is not matching the file paths like login-screen.wrong-credentials.spec.ts
doublestar.Match(`**/*.@(spec|test).?(c|m)[jt]s?(x)`, "test/login-screen.wrong-credentials.test.ts") // returns false
I have also tried testing in this online tool, here the result passes
I was writing a utility to detect test files for various javascript test frameworks. Was trying to use the glob pattern mentioned here
https://playwright.dev/docs/api/class-testconfig#test-config-test-match, but it seems the pattern
**/*.@(spec|test).?(c|m)[jt]s?(x)is not matching the file paths likelogin-screen.wrong-credentials.spec.tsI have also tried testing in this online tool, here the result passes