chore(select-rich): fix flaky test

This commit is contained in:
Joren Broekema 2020-07-27 16:53:37 +02:00
parent 01692abd3c
commit 3942966863

View file

@ -230,6 +230,7 @@ describe('lion-select-rich', () => {
expect(el.serializedValue).to.equal('red'); expect(el.serializedValue).to.equal('red');
el.serializedValue = 'hotpink'; el.serializedValue = 'hotpink';
await el.registrationComplete;
expect(el.checkedIndex).to.equal(1); expect(el.checkedIndex).to.equal(1);
expect(el.serializedValue).to.equal('hotpink'); expect(el.serializedValue).to.equal('hotpink');
}); });