mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
rewrite tooltip unit tests
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
import { jQuery as $ } from '../util/index'
|
||||
import Data from '../dom/data'
|
||||
import SelectorEngine from '../dom/selector-engine'
|
||||
import Tooltip from '../tooltip'
|
||||
import Tooltip from '../tooltip/tooltip'
|
||||
|
||||
/**
|
||||
* ------------------------------------------------------------------------
|
||||
|
||||
@@ -16,8 +16,8 @@ describe('Popover', () => {
|
||||
|
||||
const popoverList = makeArray(document.querySelectorAll('.popover'))
|
||||
|
||||
popoverList.forEach(backdrop => {
|
||||
document.body.removeChild(backdrop)
|
||||
popoverList.forEach(popoverEl => {
|
||||
document.body.removeChild(popoverEl)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user