mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
fix: remove make array util function (#30430)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import Tooltip from '../../src/tooltip'
|
||||
import EventHandler from '../../src/dom/event-handler'
|
||||
import { makeArray, noop } from '../../src/util/index'
|
||||
import { noop } from '../../src/util/index'
|
||||
|
||||
/** Test helpers */
|
||||
import { getFixture, clearFixture, jQueryMock, createEvent } from '../helpers/fixture'
|
||||
@@ -15,9 +15,7 @@ describe('Tooltip', () => {
|
||||
afterEach(() => {
|
||||
clearFixture()
|
||||
|
||||
const tooltipList = makeArray(document.querySelectorAll('.tooltip'))
|
||||
|
||||
tooltipList.forEach(tooltipEl => {
|
||||
document.querySelectorAll('.tooltip').forEach(tooltipEl => {
|
||||
document.body.removeChild(tooltipEl)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user