Skip to content

Commit 517c9d0

Browse files
committed
RI-6336 - updated unit tests to match new pattern
1 parent f52fdf6 commit 517c9d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

redisinsight/api/src/modules/browser/keys/scanner/strategies/standalone.scanner.strategy.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,9 @@ describe('StandaloneScannerStrategy', () => {
382382
expect(strategy.getKeysInfo).toHaveBeenCalledWith(
383383
mockStandaloneRedisClient,
384384
[Buffer.from(key)],
385+
undefined,
386+
true,
387+
true
385388
);
386389
expect(strategy['scan']).not.toHaveBeenCalled();
387390
});
@@ -405,6 +408,9 @@ describe('StandaloneScannerStrategy', () => {
405408
expect(strategy.getKeysInfo).toHaveBeenCalledWith(
406409
mockStandaloneRedisClient,
407410
[Buffer.from(mockSearchPattern)],
411+
undefined,
412+
true,
413+
true
408414
);
409415
expect(strategy['scan']).not.toHaveBeenCalled();
410416
});

0 commit comments

Comments
 (0)