generated from nhcarrigan/template
d665dfa0cf
Add comprehensive test coverage to prevent regressions: **Snippets Store:** - Test filteredSnippets derived store with and without category filter - Cover all branches of the filter logic **State Mapper:** - Test unknown tool handling (defaults to typing) - Test thinking content blocks in assistant messages - Test empty content arrays - Test all stream_event delta types (thinking_delta, text_delta) - Test all content_block_start types (thinking, text, tool_use) - Test unrecognized stream event types - Test unknown result subtypes - Test unknown message types - Test extractTextFromMessage edge cases (null result, no delta text) These additions bring test count from 335 to 351 and significantly improve branch coverage for these critical utility functions.