Skip to content

Commit 6ee35d6

Browse files
committed
fix failing test
1 parent aa17555 commit 6ee35d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/api/src/modules/redis/utils/keys.util.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe('getTotalKeys', () => {
2525
expect(mockStandaloneRedisClient.sendCommand).toHaveBeenCalledTimes(1);
2626
expect(mockStandaloneRedisClient.sendCommand).toHaveBeenNthCalledWith(1, ['dbsize'], { replyEncoding: 'utf8' });
2727
expect(mockStandaloneRedisClient.getInfo)
28-
.toHaveBeenNthCalledWith(1, true, 'keyspace');
28+
.toHaveBeenNthCalledWith(1, 'keyspace');
2929
});
3030
it('Should return 0 since info keyspace hasn\'t keys values', async () => {
3131
mockStandaloneRedisClient.sendCommand.mockRejectedValueOnce(new Error('some error'));

0 commit comments

Comments
 (0)