In the past week, I almost finished developing the functionalities, & UI components for the in-app notifications feature.
Plans 📆
However, the code is becoming VERY complicated, and because it's working on Nostr, I wasn't really able to test all the cases that could come to mind, so that's why I want to write proper tests (Unit tests & Integration tests) for this feature in particular, and for the different nostr custom hooks and helper functions in general.
Problems ✋
I'm not sure how can I mock a nostr relay...
Should I write a "simple" relay implementation myself and make it act as a proxy instead of connecting to real relays?
I think I'm going to check other nostr-related npm libraries out there to see what they are doing.