Convert enzyme to rtl: UserInfo (#9846)
* converts tests from Enzyme to Rtl * increases test coverage
This commit is contained in:
parent
a691e634b0
commit
880a86c8b1
3 changed files with 960 additions and 144 deletions
|
@ -69,7 +69,7 @@ const BaseCard: React.FC<IProps> = forwardRef<HTMLDivElement, IProps>(
|
|||
if (onClose) {
|
||||
closeButton = (
|
||||
<AccessibleButton
|
||||
data-test-id="base-card-close-button"
|
||||
data-testid="base-card-close-button"
|
||||
className="mx_BaseCard_close"
|
||||
onClick={onClose}
|
||||
title={closeLabel || _t("Close")}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue