Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/tests
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2019-07-11 12:29:35 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-07-17 15:03:32 +0300
commit18077460aa7c80011926522f9dd154f9d0a608c1 (patch)
tree287887548b5b5a8e35e8b3c8e956f7a6d1df4817 /js/tests
parent34e9c5ee0c62c97af02acbcc7b386a16d74e5ccf (diff)
updated babel
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/unit/dom/manipulator.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/js/tests/unit/dom/manipulator.js b/js/tests/unit/dom/manipulator.js
index 4b20529d41..f657709059 100644
--- a/js/tests/unit/dom/manipulator.js
+++ b/js/tests/unit/dom/manipulator.js
@@ -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) {