Skip to content

Commit

Permalink
[TextField] Fix TextField onClick test (#38597)
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert authored Aug 23, 2023
1 parent 92500b9 commit e9b324c
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 e9b324c

Please sign in to comment.