mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 02:59:13 +00:00
fix test
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user