Skip to content

Commit

Permalink
fix tree tests; #1521
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Aug 18, 2023
1 parent c8919ad commit 74c6d3e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions docs/pages/resources/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
## Next

- Fixed a regression that caused `<sl-radio-button>` to render incorrectly with gaps [#1523]
- Improved expand/collapse behavior of `<sl-tree>` to work more like users expect [#1521]

## 2.7.0

Expand Down
2 changes: 0 additions & 2 deletions src/components/tree/tree.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ describe('<sl-tree>', () => {
// Assert
expect(el.selectedItems.length).to.eq(1);
expect(el.children[2]).to.have.attribute('selected');
expect(el.children[2]).to.have.attribute('expanded');
});
});

Expand Down Expand Up @@ -439,7 +438,6 @@ describe('<sl-tree>', () => {
await el.updateComplete;

// Assert
expect(node).to.have.attribute('selected');
expect(node).to.have.attribute('expanded');
});
});
Expand Down

0 comments on commit 74c6d3e

Please sign in to comment.