Function
mockedOptions
(options: Partial<ReactNativeClientOptions>)
Source from the content-addressed store, hash-verified
| 904 | }); |
| 905 | |
| 906 | function mockedOptions(options: Partial<ReactNativeClientOptions>): ReactNativeClientOptions { |
| 907 | return { |
| 908 | integrations: [], |
| 909 | stackParser: jest.fn().mockReturnValue([]), |
| 910 | transport: () => ({ |
| 911 | send: jest.fn(), |
| 912 | flush: jest.fn(), |
| 913 | }), |
| 914 | ...options, |
| 915 | }; |
| 916 | } |
| 917 | |
| 918 | function createClientWithSpy(options: Partial<ReactNativeClientOptions>) { |
| 919 | const onSpy = jest.fn(); |
Tested by
no test coverage detected