diff --git a/test/specs/scale.time.tests.js b/test/specs/scale.time.tests.js index 071f49259a2..0d79722e40f 100755 --- a/test/specs/scale.time.tests.js +++ b/test/specs/scale.time.tests.js @@ -764,6 +764,7 @@ describe('Time scale tests', function() { expect(scale.ticks.length).toEqual(61); expect(scale.ticks[0]).toEqual('[[8:00 pm]]'); + expect(scale.ticks[Math.floor(scale.ticks.length / 2)]).toEqual('(8:00:30 pm)'); expect(scale.ticks[scale.ticks.length - 1]).toEqual('[[8:01 pm]]'); }); @@ -797,6 +798,7 @@ describe('Time scale tests', function() { chart.update(); expect(scale.ticks.length).toEqual(61); expect(scale.ticks[0]).toEqual('[[8:00 pm]]'); + expect(scale.ticks[Math.floor(scale.ticks.length / 2)]).toEqual('<8:00:30 pm>'); expect(scale.ticks[scale.ticks.length - 1]).toEqual('[[8:01 pm]]'); }); });