test: Add basic snapshot test coverage for EventView

This commit adds a basic snapshot test for EventView, and also adds some testing infrastructure to help with mocking NostrDB behavior.

Test
----

PASS

Device: iOS 17.0 Simulator
iOS: 17.0
Damus: This commit
Steps: Run `EventViewTests`
Results: Snapshot matches baseline reference added
This commit is contained in:
Daniel D’Aquino authored and William Casarin committed 2023-10-16 03:13:28 +02:00
1 parent edb23e4e70
commit 3b76fcb743
5 files changed
+155 -3

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB