test(coverage): BIT-15735 — commit remaining test files to reach 86% coverage #14

Merged
spark merged 7 commits from task/BIT-15735-test-coverage into main 2026-05-06 12:57:18 +01:00
7 Commits
Author SHA1 Message Date
Paperclip CI Autopilot 8ff6bfb6f0 fix(ci): remove unused stubFilterMode variable
ai-news-writer-ci / test (pull_request) Successful in 58s
2026-05-06 11:33:54 +00:00
Paperclip CI Autopilot d02bca9c2d fix(ci): resolve lint errors in test and research modules
ai-news-writer-ci / test (pull_request) Failing after 1m16s
2026-05-06 11:32:59 +00:00
Paperclip CI Autopilot a3aceaaa09 chore(ci): retry checks for PR #14
ai-news-writer-ci / test (pull_request) Failing after 25s
2026-05-06 11:29:45 +00:00
Paperclip AgentandPaperclip 99175f1318 feat(research): implement research module stubs to unblock test coverage
ai-news-writer-ci / test (pull_request) Failing after 29s
Add implementations for research fact-verification modules whose test
files already existed but had no backing code (BIT-3602 prep work):
- src/research/config.js — researchConfig() reads env vars
- src/research/claims.js — extractClaims() sentence extraction
- src/research/aggregator.js — aggregateVerificationResults() weighted avg
- src/research/sources/claimcheck.js — queryClaimBuster()
- src/research/sources/cross-reference.js — queryCrossReference()
- src/research/sources/google-factcheck.js — queryGoogleFactCheck()

All 573 tests now pass (up from 522; 51 previously broken tests fixed).
Resolves stalled BIT-4293 run.

Co-Authored-By: Paperclip <[email protected]>
2026-05-06 11:22:24 +00:00
Paperclip CI Autopilot 95b964d9ab fix(ci): remove broken gitlink worktree entry
ai-news-writer-ci / test (pull_request) Failing after 2m20s
2026-05-06 11:20:25 +00:00
Paperclip CI Autopilot c8ae0177fc chore(ci): retrigger checks for PR #14
ai-news-writer-ci / test (pull_request) Failing after 25s
2026-05-06 11:13:35 +00:00
Patrícia SantosandPaperclip 7441b1cf29 test(coverage): BIT-15735 commit remaining test files to reach 70%+ coverage
ai-news-writer-ci / test (pull_request) Failing after 1m14s
Add 12 test files covering csv-export, merge-sources, scraper, ui-validators,
wp-publish-hours, research aggregator/claims/config, claimcheck, cross-reference,
google-factcheck, and process-diagnostics modules. Combined with existing tests
this brings line coverage to 86%+ (target: 70%).

Co-Authored-By: Paperclip <[email protected]>
2026-05-06 07:54:15 +00:00