Commit 3bc9b24
fix: delete 19 fake test files testing non-existent scripts
Deleted tests for scripts that DON'T EXIST:
- agentic-workflow (no script)
- anomaly-detection-dashboard (no script)
- dashboard-cia-data-loader (no script)
- dashboard-cia-visualizations (no script)
- dashboard-election-predictions (no script)
- dashboard-init (no script)
- election-cycle-dashboard (no script)
- isms-compliance (480 lines of NOTHING!)
- ministry-dashboard (no script)
- multi-language (no script)
- news-index-localization (no script)
- party-dashboard (no script)
- politician-dashboard-part1/part2 (no script)
- pre-election-dashboard (no script)
- seasonal-patterns-dashboard (no script)
- seo-structured-data (no script)
- stats-loader (no script)
- translation-validation (no script)
KEPT tests for scripts that EXIST:
✅ article-template.js
✅ back-to-top.js
✅ coalition-dashboard.js
✅ committees-dashboard.js
✅ data-transformers.js
✅ generate-news-enhanced.js (part1+part2)
✅ generate-news-indexes.js
✅ generate-sitemap.js
✅ html-utils.js
✅ load-cia-stats.js
✅ mcp-client.js (core-part1+part2+exports)
Result: 14 REAL tests (down from 33 fake ones)
The OOM was caused by 19 tests testing FANTASY CODE,
creating fake mocks and fake DOM that leaked memory.
STOP TESTING FANTASY. TEST REALITY.
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>1 parent 25d92b4 commit 3bc9b24
File tree
19 files changed
+0
-5606
lines changed- tests
19 files changed
+0
-5606
lines changedThis file was deleted.
0 commit comments