test: Fix "Unnecessary escape character" error

This fixes an error triggered by the no-useless-escape rule.
This commit is contained in:
regexowl 2023-11-01 11:11:06 +01:00 committed by Klara Simickova
parent 7b0b9a8ddc
commit d3eaccc636

View file

@ -45,7 +45,7 @@ describe('Create Share To Regions Modal', () => {
await user.click(selectToggle);
const usEast2 = await screen.findByRole('option', {
name: /us east \(ohio\) us\-east\-2/i,
name: /us east \(ohio\) us-east-2/i,
});
expect(usEast2).not.toHaveClass('pf-m-disabled');
await user.click(usEast2);