We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa17555 commit 6ee35d6Copy full SHA for 6ee35d6
redisinsight/api/src/modules/redis/utils/keys.util.spec.ts
@@ -25,7 +25,7 @@ describe('getTotalKeys', () => {
25
expect(mockStandaloneRedisClient.sendCommand).toHaveBeenCalledTimes(1);
26
expect(mockStandaloneRedisClient.sendCommand).toHaveBeenNthCalledWith(1, ['dbsize'], { replyEncoding: 'utf8' });
27
expect(mockStandaloneRedisClient.getInfo)
28
- .toHaveBeenNthCalledWith(1, true, 'keyspace');
+ .toHaveBeenNthCalledWith(1, 'keyspace');
29
});
30
it('Should return 0 since info keyspace hasn\'t keys values', async () => {
31
mockStandaloneRedisClient.sendCommand.mockRejectedValueOnce(new Error('some error'));
0 commit comments