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
2023-10-16 03:13:28 +02:00
committed by William Casarin
parent edb23e4e70
commit 3b76fcb743
5 changed files with 155 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB