ubiquibot / conversation-rewards

0 stars 10 forks source link

merge development into testing #37

Closed gentlementlegen closed 1 month ago

github-actions[bot] commented 1 month ago

Coverage report

[!CAUTION] Test run failed

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements 77.8% 368/473
🟑 Branches 66.06% 144/218
🟒 Functions 81.25% 78/96
🟑 Lines 78.17% 358/458

Test suite run failed

Failed tests: 1/24. Failed suites: 1/5.
``` ● Modules tests β€Ί Should properly generate the configuration expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 51 @@ -12,91 +12,141 @@ "formattingEvaluator": Object { "enabled": true, "multipliers": Array [ Object { "formattingMultiplier": 1, + "targets": Array [ + "ISSUE", + "ISSUER", + "SPECIFICATION", + ], "type": Array [ "ISSUE", "ISSUER", "SPECIFICATION", ], "wordValue": 0.1, }, Object { "formattingMultiplier": 1, + "targets": Array [ + "ISSUE", + "ISSUER", + "COMMENTED", + ], "type": Array [ "ISSUE", "ISSUER", "COMMENTED", ], "wordValue": 0.2, }, Object { "formattingMultiplier": 0, + "targets": Array [ + "ISSUE", + "ASSIGNEE", + "COMMENTED", + ], "type": Array [ "ISSUE", "ASSIGNEE", "COMMENTED", ], "wordValue": 0, }, Object { "formattingMultiplier": 1, + "targets": Array [ + "ISSUE", + "COLLABORATOR", + "COMMENTED", + ], "type": Array [ "ISSUE", "COLLABORATOR", "COMMENTED", ], "wordValue": 0.1, }, Object { "formattingMultiplier": 0.25, + "targets": Array [ + "ISSUE", + "CONTRIBUTOR", + "COMMENTED", + ], "type": Array [ "ISSUE", "CONTRIBUTOR", "COMMENTED", ], "wordValue": 0.1, }, Object { "formattingMultiplier": 0, + "targets": Array [ + "REVIEW", + "ISSUER", + "TASK", + ], "type": Array [ "REVIEW", "ISSUER", "TASK", ], "wordValue": 0, }, Object { "formattingMultiplier": 2, + "targets": Array [ + "REVIEW", + "ISSUER", + "COMMENTED", + ], "type": Array [ "REVIEW", "ISSUER", "COMMENTED", ], "wordValue": 0.2, }, Object { "formattingMultiplier": 1, + "targets": Array [ + "REVIEW", + "ASSIGNEE", + "COMMENTED", + ], "type": Array [ "REVIEW", "ASSIGNEE", "COMMENTED", ], "wordValue": 0.1, }, Object { "formattingMultiplier": 1, + "targets": Array [ + "REVIEW", + "COLLABORATOR", + "COMMENTED", + ], "type": Array [ "REVIEW", "COLLABORATOR", "COMMENTED", ], "wordValue": 0.1, }, Object { "formattingMultiplier": 0.25, + "targets": Array [ + "REVIEW", + "CONTRIBUTOR", + "COMMENTED", + ], "type": Array [ "REVIEW", "CONTRIBUTOR", "COMMENTED", ], @@ -129,10 +179,11 @@ "post": false, }, "permitGeneration": Object { "enabled": true, }, + "requirePriceLabel": true, "userExtractor": Object { "enabled": true, "redeemTask": true, }, }, 217 | const cfg = configuration; 218 | > 219 | expect(cfg).toEqual(validConfiguration); | ^ 220 | }); 221 | 222 | it("Should do a full run", async () => { at Object.toEqual (tests/process.issue.test.ts:219:17) ```

Report generated by πŸ§ͺjest coverage report action from 359d37ce4b237b2b69ab89d80a07c73de68d5b8e