Skip to content

Commit 3e439e0

Browse files
committed
add date axis types - fixup test to catch issue 5057
1 parent a4c8095 commit 3e439e0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/jasmine/tests/bar_test.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,9 @@ describe('Bar.calc', function() {
430430
base: [0],
431431
y: [2000],
432432
x: ['A']
433-
}], {});
433+
}], {yaxis: {type: 'date'}});
434434

435435
var cd = gd.calcdata;
436-
assertPointField(cd, 'b', [[0]]);
437436
assertPointField(cd, 's', [[2000]]);
438437
});
439438

@@ -444,10 +443,9 @@ describe('Bar.calc', function() {
444443
base: [0],
445444
x: [2000],
446445
y: ['A']
447-
}], {});
446+
}], {xaxis: {type: 'date'}});
448447

449448
var cd = gd.calcdata;
450-
assertPointField(cd, 'b', [[0]]);
451449
assertPointField(cd, 's', [[2000]]);
452450
});
453451
});

0 commit comments

Comments
 (0)