Skip to content

Commit 5da27d0

Browse files
Update apps/demos/utils/visual-tests/matrix-test-helper.ts
Co-authored-by: Copilot <[email protected]> Signed-off-by: EugeniyKiyashko <[email protected]>
1 parent 124be6e commit 5da27d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/demos/utils/visual-tests/matrix-test-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function shouldRunTestExplicitlyInternal(framework, product, demo) {
4747
}
4848

4949
function patternGroupFromValues(product, demo, framework) {
50-
const escapeRegExp = (string) => string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
50+
const escapeRegExp = (string) => string.replace(/[.*+?^${}()|[\]\\-]/g, '\\$&');
5151
const wrap = (x) => RegExp(x ? escapeRegExp(x) : '.*', 'i');
5252
return {
5353
product: wrap(product),

0 commit comments

Comments
 (0)