mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 00:54:04 +02:00
tests: remove extra spaces, unneeded arrays and add missing newlines
This commit is contained in:
@@ -235,9 +235,7 @@ describe('Carousel', () => {
|
||||
|
||||
const carouselEl = fixtureEl.querySelector('#myCarousel')
|
||||
const carousel = new Carousel(carouselEl, { wrap: true })
|
||||
const getActiveId = () => {
|
||||
return carouselEl.querySelector('.carousel-item.active').getAttribute('id')
|
||||
}
|
||||
const getActiveId = () => carouselEl.querySelector('.carousel-item.active').getAttribute('id')
|
||||
|
||||
carouselEl.addEventListener('slid.bs.carousel', event => {
|
||||
const activeId = getActiveId()
|
||||
@@ -1153,6 +1151,7 @@ describe('Carousel', () => {
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
describe('rtl function', () => {
|
||||
it('"_directionToOrder" and "_orderToDirection" must return the right results', () => {
|
||||
fixtureEl.innerHTML = '<div></div>'
|
||||
|
Reference in New Issue
Block a user