chore: leftovers

This commit is contained in:
Alessandro
2024-03-13 18:30:10 +00:00
committed by GitHub
parent 919202b805
commit d97e52299d
2 changed files with 1 additions and 2 deletions

View File

@@ -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;

View File

@@ -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');