Skip to content

Commit

Permalink
Fix TextField onClick test
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Aug 22, 2023
1 parent ab8f160 commit f188e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material/src/TextField/TextField.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ describe('<TextField />', () => {

expect(handleClick.callCount).to.equal(1);
// return value is event.currentTarget
expect(handleClick.returned(root));
expect(handleClick.returned(root)).to.equal(true);
});
});
});

0 comments on commit f188e4f

Please sign in to comment.