Skip to content

Commit f61ef0a

Browse files
chore: removed additional mock
1 parent df3cc48 commit f61ef0a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

__tests__/unit/logic.service.test.ts

-3
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ describe('Logic Service', () => {
6363
return Promise.resolve();
6464
});
6565

66-
jest.spyOn(databaseManager, 'deleteKey').mockImplementation((key: string): Promise<void> => {
67-
return Promise.resolve();
68-
});
6966
const ruleResults: RuleResult[] = [{ result: true, id: '', cfg: '', subRuleRef: '', reason: '', desc: '' }];
7067
jest.spyOn(databaseManager, 'addOneGetAll').mockImplementation((key: string, value: string): Promise<string[]> => {
7168
return Promise.resolve([JSON.stringify({ result: 50, id: '[email protected]', cfg: '[email protected]', desc: 'test', threshold: 0, ruleResults })]);

0 commit comments

Comments
 (0)