Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanzong committed Jan 29, 2024
1 parent 4454817 commit 4977ba8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/compile/scale/type.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ describe('compile/scale', () => {

describe('time (animation)', () => {
it('should return linear scale for temporal data by default.', () => {
expect(scaleType({}, 'time', {type: 'temporal'}, 'point')).toEqual(ScaleType.LINEAR);
// expect(scaleType({}, 'time', {type: 'temporal'}, 'point')).toEqual(ScaleType.LINEAR);
expect(scaleType({}, 'time', {type: 'temporal'}, 'point')).toEqual(ScaleType.BAND); // TODO(jzong) change to linear when interpolation implemented
});
});
});
Expand Down Expand Up @@ -240,7 +241,8 @@ describe('compile/scale', () => {

describe('time (animation)', () => {
it('should return linear scale for temporal data by default.', () => {
expect(scaleType({}, 'time', {type: 'temporal'}, 'point')).toEqual(ScaleType.LINEAR);
// expect(scaleType({}, 'time', {type: 'temporal'}, 'point')).toEqual(ScaleType.LINEAR);
expect(scaleType({}, 'time', {type: 'temporal'}, 'point')).toEqual(ScaleType.BAND); // TODO(jzong) change to linear when interpolation implemented
});
});
});
Expand Down

0 comments on commit 4977ba8

Please sign in to comment.