Jest is not always your friend... Mocking the return value of a function inside a module is tricky and I don't understand why this happens: - getConsents: mockGetConsents ❌ - getConsents: () => mockGetConsents() ✅ #react-native #jest #testing #react
Nikos Kleidis
@nikoskleidis.bsky.social
react-native is my jam! Growing avocado trees for a hobby