callumalpass_tasknotes/tests/unit/suggest
callumalpass 3e6675529f test(#1427): Add tests for frontmatter-only tags filtering scenarios
Adds comprehensive test coverage for issue #1427 regarding Required Tags
filtering not returning results when tags are only in frontmatter.

Test cases cover:
- Frontmatter-only tags (no inline #tags)
- Single string vs array tags format
- Hash prefix handling (#project vs project)
- Singular "tag" key vs plural "tags" key
- Empty and null frontmatter.tags edge cases
- Comparison between tag filter and property filter

These tests document expected behavior and will help catch regressions.
Current tests pass, suggesting the bug may be environment-specific or
related to a specific Obsidian version behavior not captured in mocks.
2026-01-04 22:14:17 +11:00
..
FileSuggestHelper.test.ts test(#1427): Add tests for frontmatter-only tags filtering scenarios 2026-01-04 22:14:17 +11:00