Skip to content

Commit 7b97601

Browse files
chore:updated tests
1 parent 864145c commit 7b97601

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

__tests__/unit/logic.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ describe('TADProc Service', () => {
9494
};
9595

9696
const getMockTypologyResult = (ruleResults: RuleResult[]): TypologyResult => {
97-
return { result: 50, id: '[email protected]', cfg: '1.0', workflow: { alertThreshold: '50', interdictionThreshold: '' }, ruleResults };
97+
return { result: 50, id: '[email protected]', cfg: '1.0', workflow: { alertThreshold: 50, interdictionThreshold: 0 }, ruleResults };
9898
};
9999

100100
const getMockNetworkMapWithMultipleChannels = () => {
@@ -518,7 +518,7 @@ describe('TADProc Service', () => {
518518
result: 50,
519519
520520
521-
workflow: { alertThreshold: '0', interdictionThreshold: '' },
521+
workflow: { alertThreshold: 0, interdictionThreshold: 0 },
522522
ruleResults,
523523
};
524524

@@ -654,7 +654,7 @@ describe('TADProc Service', () => {
654654
result: 50,
655655
656656
657-
workflow: { alertThreshold: '0', interdictionThreshold: '' },
657+
workflow: { alertThreshold: 0, interdictionThreshold: 0 },
658658
ruleResults,
659659
};
660660

@@ -673,7 +673,7 @@ describe('TADProc Service', () => {
673673
674674
cfg: '1.0',
675675
review: false,
676-
workflow: { alertThreshold: '0', interdictionThreshold: '' },
676+
workflow: { alertThreshold: 0, interdictionThreshold: 0 },
677677
ruleResults,
678678
};
679679

@@ -718,7 +718,7 @@ describe('TADProc Service', () => {
718718
719719
cfg: '1.0',
720720
review: true,
721-
workflow: { alertThreshold: '100', interdictionThreshold: '' },
721+
workflow: { alertThreshold: 100, interdictionThreshold: 0 },
722722
ruleResults,
723723
};
724724

@@ -764,7 +764,7 @@ describe('TADProc Service', () => {
764764
result: 50,
765765
766766
cfg: '1.0',
767-
workflow: { alertThreshold: '0', interdictionThreshold: '' },
767+
workflow: { alertThreshold: 0, interdictionThreshold: 0 },
768768
ruleResults,
769769
};
770770

0 commit comments

Comments
 (0)