2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

chore(deps): update qunit and karma-qunit

This commit is contained in:
Johann-S
2018-05-07 15:56:24 +02:00
committed by XhmikosR
parent 0873ab71c7
commit 0338b61eb6
15 changed files with 2178 additions and 2240 deletions
+1
View File
@@ -16,6 +16,7 @@ $(function () {
afterEach: function () {
$.fn.alert = $.fn.bootstrapAlert
delete $.fn.bootstrapAlert
$('#qunit-fixture').html('')
}
})
+1
View File
@@ -16,6 +16,7 @@ $(function () {
afterEach: function () {
$.fn.button = $.fn.bootstrapButton
delete $.fn.bootstrapButton
$('#qunit-fixture').html('')
}
})
+1
View File
@@ -16,6 +16,7 @@ $(function () {
afterEach: function () {
$.fn.carousel = $.fn.bootstrapCarousel
delete $.fn.bootstrapCarousel
$('#qunit-fixture').html('')
}
})
+1
View File
@@ -16,6 +16,7 @@ $(function () {
afterEach: function () {
$.fn.collapse = $.fn.bootstrapCollapse
delete $.fn.bootstrapCollapse
$('#qunit-fixture').html('')
}
})
+1
View File
@@ -16,6 +16,7 @@ $(function () {
afterEach: function () {
$.fn.dropdown = $.fn.bootstrapDropdown
delete $.fn.bootstrapDropdown
$('#qunit-fixture').html('')
}
})
+1
View File
@@ -33,6 +33,7 @@ $(function () {
$(document.body).removeClass('modal-open')
$.fn.modal = $.fn.bootstrapModal
delete $.fn.bootstrapModal
$('#qunit-fixture').html('')
}
})
+1
View File
@@ -17,6 +17,7 @@ $(function () {
$.fn.popover = $.fn.bootstrapPopover
delete $.fn.bootstrapPopover
$('.popover').remove()
$('#qunit-fixture').html('')
}
})
+1
View File
@@ -16,6 +16,7 @@ $(function () {
afterEach: function () {
$.fn.scrollspy = $.fn.bootstrapScrollspy
delete $.fn.bootstrapScrollspy
$('#qunit-fixture').html('')
}
})
+1
View File
@@ -16,6 +16,7 @@ $(function () {
afterEach: function () {
$.fn.tab = $.fn.bootstrapTab
delete $.fn.bootstrapTab
$('#qunit-fixture').html('')
}
})
+1
View File
@@ -17,6 +17,7 @@ $(function () {
$.fn.tooltip = $.fn.bootstrapTooltip
delete $.fn.bootstrapTooltip
$('.tooltip').remove()
$('#qunit-fixture').html('')
}
})
+5 -1
View File
@@ -3,7 +3,11 @@ $(function () {
window.Util = typeof bootstrap !== 'undefined' ? bootstrap.Util : Util
QUnit.module('util')
QUnit.module('util', {
afterEach: function () {
$('#qunit-fixture').html('')
}
})
QUnit.test('Util.getSelectorFromElement should return the correct element', function (assert) {
assert.expect(2)