mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
move util in a util folder with the sanitizer
This commit is contained in:
@@ -695,13 +695,10 @@ $(function () {
|
||||
].join('')
|
||||
|
||||
var $modal = $(modalHTML).appendTo('#qunit-fixture')
|
||||
var expectedTransitionDuration = 300
|
||||
var spy = sinon.spy(Util, 'getTransitionDurationFromElement')
|
||||
|
||||
$modal.on('shown.bs.modal', function () {
|
||||
assert.ok(spy.returned(expectedTransitionDuration))
|
||||
$style.remove()
|
||||
spy.restore()
|
||||
assert.ok(true)
|
||||
done()
|
||||
})
|
||||
.bootstrapModal('show')
|
||||
|
||||
Reference in New Issue
Block a user