Skip to content

Commit 1d2d48e

Browse files
fix ITests
1 parent 8cd844f commit 1d2d48e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redisinsight/api/src/modules/workbench/repositories/local-command-execution.repository.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ describe('LocalCommandExecutionRepository', () => {
7070
});
7171

7272
when(encryptionService.decrypt)
73-
.calledWith(mockCommandExecutionEntity.command, jasmine.anything())
73+
.calledWith(mockCommandExecutionEntity.command, expect.anything())
7474
.mockResolvedValue(mockCommandExecution.command)
75-
.calledWith(mockCommandExecutionEntity.result, jasmine.anything())
75+
.calledWith(mockCommandExecutionEntity.result, expect.anything())
7676
.mockResolvedValue(JSON.stringify(mockCommandExecution.result));
7777

7878
repository.save.mockReturnValue(mockCommandExecutionEntity);

0 commit comments

Comments
 (0)