We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1fa76c commit b46d053Copy full SHA for b46d053
packages/@react-aria/test-utils/src/dialog.ts
@@ -88,9 +88,9 @@ export class DialogTester {
88
} else {
89
let dialog;
90
await waitFor(() => {
91
- dialog = document.querySelector(`[role=dialog], [role=alertdialog]`);
+ dialog = document.querySelector('[role=dialog], [role=alertdialog]');
92
if (dialog == null) {
93
- throw new Error(`No dialog of type role="dialog" or role="alertdialog" found after pressing the trigger.`);
+ throw new Error('No dialog of type role="dialog" or role="alertdialog" found after pressing the trigger.');
94
95
return true;
96
}
0 commit comments