UNPKG

@pachun/use-expo-push-notifications

Version:

Simpler (and more testable) expo-notifications event handling

6 lines (5 loc) 190 B
jest.mock("expo-notifications", () => ({ addNotificationReceivedListener: jest.fn(), addNotificationResponseReceivedListener: jest.fn(), removeNotificationSubscription: jest.fn(), }))