Skip to content

Commit

Permalink
Attempt to fix the failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrunel committed Jul 24, 2017
1 parent 662656c commit a91a1f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/specs/scale.time.tests.js
Expand Up @@ -281,7 +281,7 @@ describe('Time scale tests', function() {
round: true,
parser: function(label) {
return label === 'foo' ?
moment(946684800000) : // 01/01/2000 @ 12:00am (UTC)
moment(946771200000) : // 02/01/2000 @ 12:00am (UTC)
moment(1462665600000); // 05/08/2016 @ 12:00am (UTC)
}
},
Expand All @@ -297,7 +297,7 @@ describe('Time scale tests', function() {
var xScale = chart.scales.xScale0;

// Counts down because the lines are drawn top to bottom
expect(xScale.ticks[0].value).toBe('Jan 1');
expect(xScale.ticks[0].value).toBe('Jan 2');
expect(xScale.ticks[1].value).toBe('May 8');
});

Expand Down

0 comments on commit a91a1f7

Please sign in to comment.