Skip to content

Commit

Permalink
Potential fix for code scanning alert no. 8: Replacement of a substri…
Browse files Browse the repository at this point in the history
…ng with itself

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 5c7718b commit e62e240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/components/Axe.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test.describe('@aat', () => {
for (const [id, entry] of Object.entries(entries as Record<string, Component>)) {
const {name} = entry
// remove parentheses from the name to avoid playwright file issues
const cleanedName = name.replaceAll(/()/g, '')
const cleanedName = name.replaceAll(/[()]/g, '')
test.describe(id, () => {
for (const theme of themes) {
test.describe(theme, () => {
Expand Down

0 comments on commit e62e240

Please sign in to comment.