Skip to content

Commit

Permalink
Fix two more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joelostblom committed Nov 11, 2023
1 parent 28932dd commit ef1afcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/compile/data/density.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ describe('compile/data/fold', () => {
expect(density.assemble()).toEqual({
type: 'kde',
field: 'v',
resolve: 'independent',
as: ['A', 'density']
});
});
Expand Down Expand Up @@ -121,7 +122,7 @@ describe('compile/data/fold', () => {
as: ['A', 'B']
};
const density = new DensityTransformNode(null, transform);
expect(density.hash()).toBe('DensityTransform {"as":["A","B"],"density":"v"}');
expect(density.hash()).toBe('DensityTransform {"as":["A","B"],"density":"v","resolve":"independent"}');
});
});

Expand Down

0 comments on commit ef1afcf

Please sign in to comment.