kopia lustrzana https://github.com/shoelace-style/shoelace
chore: leftovers
rodzic
919202b805
commit
d97e52299d
|
@ -92,7 +92,6 @@ export default class SlCarousel extends ShoelaceElement {
|
||||||
@state() dragging = false;
|
@state() dragging = false;
|
||||||
|
|
||||||
private autoplayController = new AutoplayController(this, () => this.next());
|
private autoplayController = new AutoplayController(this, () => this.next());
|
||||||
// A map containing the state of all the slides
|
|
||||||
private readonly localize = new LocalizeController(this);
|
private readonly localize = new LocalizeController(this);
|
||||||
private mutationObserver: MutationObserver;
|
private mutationObserver: MutationObserver;
|
||||||
|
|
||||||
|
|
|
@ -649,7 +649,7 @@ describe('<sl-carousel>', () => {
|
||||||
// wait scroll to actual item
|
// wait scroll to actual item
|
||||||
await oneEvent(el.scrollContainer, 'scrollend');
|
await oneEvent(el.scrollContainer, 'scrollend');
|
||||||
|
|
||||||
await aTimeout(500);
|
await intersectionObserverCallbacks();
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
expect(previousButton).to.have.attribute('aria-disabled', 'false');
|
expect(previousButton).to.have.attribute('aria-disabled', 'false');
|
||||||
|
|
Ładowanie…
Reference in New Issue