Skip to content

Commit d07b676

Browse files
MFedMFed
MFed
authored and
MFed
committed
somehow I lost this change in my screw up with the branches.
1 parent 3a827a6 commit d07b676

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jasmine/tests/annotations_test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require('@src/plotly');
22
var Plots = require('@src/plots/plots');
33
var Annotations = require('@src/components/annotations');
4-
4+
var Dates = require('@src/lib/dates');
55

66
describe('Test annotations', function() {
77
'use strict';
@@ -27,7 +27,7 @@ describe('Test annotations', function() {
2727

2828
Annotations.supplyLayoutDefaults(annotationIn, annotationOut);
2929

30-
expect(annotationIn.annotations[0].ax).toEqual(1088654400000);
30+
expect(annotationIn.annotations[0].ax).toEqual(Dates.dateTime2ms('2004-07-01'));
3131
});
3232
});
3333
});

0 commit comments

Comments
 (0)