Skip to content

Commit 1e97829

Browse files
Update packages/material-ui/src/Modal/Modal.test.js
Co-Authored-By: Josh Wooding <12938082+joshwooding@users.noreply.github.com>
1 parent d815ff2 commit 1e97829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/material-ui/src/Modal/Modal.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ describe('<Modal />', () => {
291291
expect(handleKeyDown).to.have.property('callCount', 0);
292292
});
293293

294-
it('should not call onChange when disableEscapeKeyDown', () => {
294+
it('should not call onChange when `disableEscapeKeyDown=true`', () => {
295295
const handleKeyDown = spy();
296296
const onEscapeKeyDownSpy = spy();
297297
const onCloseSpy = spy();

0 commit comments

Comments
 (0)