mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
tests: try to fix a few random failures (#35184)
* Change `Swipe` dispose spy on EventHandler * Modal hide spy on backdrop hide
This commit is contained in:
@@ -1268,6 +1268,7 @@ describe('Carousel', () => {
|
||||
|
||||
carousel.dispose()
|
||||
|
||||
expect(carousel._swipeHelper).toBeNull()
|
||||
expect(removeEventSpy).toHaveBeenCalledWith(carouselEl, Carousel.EVENT_KEY)
|
||||
expect(swipeHelperSpy).toHaveBeenCalled()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user