chore: leftovers

pull/1923/head
Alessandro 2024-03-13 18:30:10 +00:00 zatwierdzone przez GitHub
rodzic 919202b805
commit d97e52299d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -92,7 +92,6 @@ export default class SlCarousel extends ShoelaceElement {
@state() dragging = false;
private autoplayController = new AutoplayController(this, () => this.next());
// A map containing the state of all the slides
private readonly localize = new LocalizeController(this);
private mutationObserver: MutationObserver;

Wyświetl plik

@ -649,7 +649,7 @@ describe('<sl-carousel>', () => {
// wait scroll to actual item
await oneEvent(el.scrollContainer, 'scrollend');
await aTimeout(500);
await intersectionObserverCallbacks();
// Assert
expect(previousButton).to.have.attribute('aria-disabled', 'false');