Skip to content

Commit 3d0485b

Browse files
committed
fix cms.info test
didn't like the null prototype for deep equal
1 parent 52bd5c0 commit 3d0485b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/bloom/lib/commands/count-min-sketch/INFO.spec.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ describe('CMS.INFO', () => {
1818
client.cms.info('key')
1919
]);
2020

21-
assert.deepEqual(reply, {
22-
width,
23-
depth,
24-
count: 0
25-
});
21+
const expected = Object.create(null);
22+
expected['width'] = width;
23+
expected['depth'] = depth;
24+
expected['count'] = 0;
25+
26+
assert.deepEqual(reply, expected);
2627
}, GLOBAL.SERVERS.OPEN);
2728
});

0 commit comments

Comments
 (0)