1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 11:21:23 +02:00

updated babel

This commit is contained in:
Johann-S
2019-07-11 11:29:35 +02:00
committed by XhmikosR
parent 34e9c5ee0c
commit 18077460aa
5 changed files with 52 additions and 41 deletions

View File

@@ -53,21 +53,11 @@ $(function () {
})
assert.propEqual(Manipulator.getDataAttributes(null), {})
var stub = sinon
.stub(Object, 'getOwnPropertyDescriptor')
.callsFake(function () {
return false
})
assert.propEqual(Manipulator.getDataAttributes($div2[0]), {
test3: 'js',
test4: 'js2'
})
assert.propEqual(Manipulator.getDataAttributes($div3[0]), {})
stub.restore()
})
QUnit.test('should remove data attribute', function (assert) {