Skip to content

Add unit tests for models, utilities, and extensions#18

Merged
dadachi merged 2 commits intomainfrom
add_test
Mar 19, 2026
Merged

Add unit tests for models, utilities, and extensions#18
dadachi merged 2 commits intomainfrom
add_test

Conversation

@dadachi
Copy link
Copy Markdown
Contributor

@dadachi dadachi commented Mar 19, 2026

Summary

  • Add tests for ItemTagType, ItemTagState, ScanState (custom init, default fallback, JSON roundtrip)
  • Add tests for TabViewModel (initial state, detail view visibility)
  • Add tests for MessageBus (post, dismiss, replace, snackbar conversion)
  • Add tests for Utility (scanUrl, isBlank, validateEmail)
  • Add tests for String extensions (isAlphanumeric, image generation)

Test plan

  • All new tests pass
  • No regressions in existing tests

🤖 Generated with Claude Code

dadachi and others added 2 commits March 20, 2026 08:17
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dadachi dadachi merged commit 67554ae into main Mar 19, 2026
1 check passed
@dadachi dadachi deleted the add_test branch March 19, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant