callumalpass_tasknotes/tests/helpers
callumalpass c8a946eb27 Remove unused MinimalNativeCache and update tests to use TaskManager
MinimalNativeCache was completely unused in production code - it was replaced
by TaskManager but never deleted. This commit removes ~1,910 lines of dead code.

Changes:
- Deleted src/utils/MinimalNativeCache.ts (1,910 lines)
- Deleted 4 dedicated MinimalNativeCache test files
- Updated 7 FilterService test files to use TaskManager instead
- Updated mock factories to reference TaskManager
- Updated comments in main.ts and FilterService.ts

Evidence it was unused:
- Zero imports in src/ (only in tests)
- Zero instantiations in production code
- main.ts uses TaskManager (this.cacheManager)
- FilterService uses TaskManager in production
- TaskManager explicitly does NOT cache (JIT design)

The TaskManager approach:
- Reads on-demand from Obsidian's native metadataCache
- No internal indexes or caching
- Event-driven to stay in sync
- Simpler and more reliable than MinimalNativeCache

Build Verified: ✓
Tests Updated: ✓

Total Impact: ~2,000 lines removed
2025-11-15 22:24:04 +11:00
..
assertion-helpers.ts Refactor types and test mocks for improved consistency and clarity 2025-06-24 07:46:47 +10:00
dom-helpers.ts fix: resolve failing tests and improve code quality 2025-09-07 23:11:19 +10:00
integration-helpers.ts feat(tasklist): expand/collapse all controls in top bar (3.19.1) 2025-08-15 23:05:26 +10:00
mock-factories.ts Remove unused MinimalNativeCache and update tests to use TaskManager 2025-11-15 22:24:04 +11:00