Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Chevalier committed Jan 4, 2017
1 parent 5f614e7 commit fed8b4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/px-vis-timeseries-custom-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ function runCustomTests() {
});

test('margin calcMargin set the margin', function() {
assert.equal(margin.margin.top, 40);
assert.equal(margin.margin.top, 0);
assert.equal(margin.margin.right, 10);
assert.equal(margin.margin.bottom, 10);
assert.equal(margin.margin.left, 50);
});
test('margin calcMargin set the marginNav', function() {
assert.equal(margin.marginNav.top, 5);
assert.equal(margin.marginNav.top, 10);
assert.equal(margin.marginNav.right, 10);
assert.equal(margin.marginNav.bottom, 20);
assert.equal(margin.marginNav.left, 50);
Expand All @@ -95,13 +95,13 @@ function runCustomTests() {
});

test('margin calcMargin set the margin', function() {
assert.equal(margin.margin.top, 25);
assert.equal(margin.margin.top, 0);
assert.equal(margin.margin.right, 40);
assert.equal(margin.margin.bottom, 40);
assert.equal(margin.margin.left, 10);
});
test('margin calcMargin set the marginNav', function() {
assert.equal(margin.marginNav.top, 5);
assert.equal(margin.marginNav.top, 40);
assert.equal(margin.marginNav.right, 40);
assert.equal(margin.marginNav.bottom, 20);
assert.equal(margin.marginNav.left, 10);
Expand Down

0 comments on commit fed8b4c

Please sign in to comment.