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 6e3dfd4 commit 9032555Copy full SHA for 9032555
1 file changed
packages/mui-material/src/Dialog/Dialog.test.js
@@ -409,7 +409,7 @@ describe('<Dialog />', () => {
409
it('should override the role if provided', function test() {
410
render(<Dialog role="alertdialog" open />);
411
412
- screen.getByRole('alertdialog');
+ expect(screen.getByRole('alertdialog')).not.to.equal(null);
413
});
414
415
0 commit comments