diff options
Diffstat (limited to '__mocks__/sentry-expo.js')
-rw-r--r-- | __mocks__/sentry-expo.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/__mocks__/sentry-expo.js b/__mocks__/sentry-expo.js new file mode 100644 index 000000000..e735c48c5 --- /dev/null +++ b/__mocks__/sentry-expo.js @@ -0,0 +1,10 @@ +jest.mock('sentry-expo', () => ({ + init: () => jest.fn(), + Native: { + ReactNativeTracing: jest.fn().mockImplementation(() => ({ + start: jest.fn(), + stop: jest.fn(), + })), + ReactNavigationInstrumentation: jest.fn(), + }, +})) |