From ef1afcf0969b9fc27f6fdd7337ef884fdd692116 Mon Sep 17 00:00:00 2001 From: Joel Ostblom Date: Sat, 11 Nov 2023 12:12:21 -0800 Subject: [PATCH] Fix two more tests --- test/compile/data/density.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/compile/data/density.test.ts b/test/compile/data/density.test.ts index c20714308b..0f408e4fed 100644 --- a/test/compile/data/density.test.ts +++ b/test/compile/data/density.test.ts @@ -55,6 +55,7 @@ describe('compile/data/fold', () => { expect(density.assemble()).toEqual({ type: 'kde', field: 'v', + resolve: 'independent', as: ['A', 'density'] }); }); @@ -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"}'); }); });