Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Oct 28, 2024
1 parent 80c3d87 commit fa71602
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/select/select.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,9 @@ describe('<sl-select>', () => {
expect(displayInput.value).to.equal('Option 1');

option.textContent = 'updated';
await oneEvent(option, 'slotchange');

await aTimeout(0);
await option.updateComplete;
await el.updateComplete;

expect(displayInput.value).to.equal('updated');
Expand Down

0 comments on commit fa71602

Please sign in to comment.