Skip to content
Snippets Groups Projects
Commit c853fb46 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

fix on tests after update on jsdom

parent 8a2cf79e
No related branches found
No related tags found
1 merge request!5Frontend refactor
......@@ -150,12 +150,8 @@ describe('functions', function() {
it('getPosition', function() {
var div = document.createElement('div');
div.offsetLeft = 0;
div.scrollLeft = 0;
div.clientLeft = 0;
div.offsetTop = 0;
div.scrollTop = 0;
div.clientTop = 0;
var pos = functions.getPosition(div);
assert.equal(0, pos.x);
assert.equal(0, pos.y);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment