diff options
author | Johann-S <johann.servoire@gmail.com> | 2019-07-11 12:29:35 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-07-17 15:03:32 +0300 |
commit | 18077460aa7c80011926522f9dd154f9d0a608c1 (patch) | |
tree | 287887548b5b5a8e35e8b3c8e956f7a6d1df4817 /js/tests/unit/dom | |
parent | 34e9c5ee0c62c97af02acbcc7b386a16d74e5ccf (diff) |
updated babel
Diffstat (limited to 'js/tests/unit/dom')
-rw-r--r-- | js/tests/unit/dom/manipulator.js | 10 |
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) { |