Closed ericleponner closed 2 weeks ago
Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
48.1% Duplication on New Code (required ≤ 3%)
Status | Category | Percentage | Covered / Total |
---|---|---|---|
🔵 | Lines | 83.05% | 40136 / 48324 |
🔵 | Statements | 83.05% | 40136 / 48324 |
🔵 | Functions | 62.76% | 902 / 1437 |
🔵 | Branches | 84.06% | 4190 / 4984 |
File | Stmts | % Branch | % Funcs | % Lines | Uncovered Lines |
---|---|---|---|---|---|
Changed Files | |||||
src/components/SearchBar.vue | 52.22% | 50% | 14.28% | 52.22% | 28-40, 47, 59-60, 104-105, 107-120, 123-206, 209, 219 |
src/utils/SearchRequest.ts | 87.72% | 80.26% | 92.3% | 87.72% | 128-133, 145-146, 167-170, 199-201, 207-208, 228-229, 316-319, 350-353, 355-362, 367-368, 373-382 |
Description:
Changes below alter
SearchRequest
class so that it usesapi/v1/topics/{topicId}
whenpreviewnet
. Formainnet
andtestnet
, behavior is unchanged (use ofapi/v1/topics/{topicId}/messages
). Changes also include unit tests adaptation to this new logic.Related issue(s):
Fixes #1109
Checklist