Skip to content

Commit

Permalink
chore(TreeView): updated tests (#9773)
Browse files Browse the repository at this point in the history
* chore(TreeView): updated tests

* Added tests for TreeViewListItem

* Added tests for TreeViewRoot and TreeView

* Updated snapshots and queries
  • Loading branch information
thatblindgeye authored Nov 16, 2023
1 parent e112034 commit 7d2fd26
Show file tree
Hide file tree
Showing 11 changed files with 1,505 additions and 3,629 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const TreeViewListItemBase: React.FunctionComponent<TreeViewListItemProps> = ({
<li
id={id}
className={css(styles.treeViewListItem, internalIsExpanded && styles.modifiers.expanded)}
{...(internalIsExpanded && { 'aria-expanded': 'true' })}
aria-expanded={internalIsExpanded}
role="treeitem"
tabIndex={-1}
>
Expand Down
Loading

0 comments on commit 7d2fd26

Please sign in to comment.