2
0
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:
Johann-S
2019-05-10 21:57:27 +02:00
parent c9e650a56f
commit 85b70cef3c
8 changed files with 1027 additions and 1285 deletions
+1 -1
View File
@@ -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'
/**
* ------------------------------------------------------------------------
+2 -2
View File
@@ -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)
})
})