remove expo-sentry (#5405)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {beforeAll, describe, expect, jest, test} from '@jest/globals'
|
||||
import * as Sentry from '@sentry/react-native'
|
||||
import {nanoid} from 'nanoid/non-secure'
|
||||
import {jest, describe, expect, test, beforeAll} from '@jest/globals'
|
||||
import {Native as Sentry} from 'sentry-expo'
|
||||
|
||||
import {Logger, LogLevel, sentryTransport} from '#/logger'
|
||||
|
||||
@@ -16,12 +16,10 @@ jest.mock('#/env', () => ({
|
||||
LOG_DEBUG: '',
|
||||
}))
|
||||
|
||||
jest.mock('sentry-expo', () => ({
|
||||
Native: {
|
||||
addBreadcrumb: jest.fn(),
|
||||
captureException: jest.fn(),
|
||||
captureMessage: jest.fn(),
|
||||
},
|
||||
jest.mock('@sentry/react-native', () => ({
|
||||
addBreadcrumb: jest.fn(),
|
||||
captureException: jest.fn(),
|
||||
captureMessage: jest.fn(),
|
||||
}))
|
||||
|
||||
beforeAll(() => {
|
||||
|
||||
@@ -1 +1 @@
|
||||
export {Native as Sentry} from 'sentry-expo'
|
||||
export * as Sentry from '@sentry/react-native'
|
||||
|
||||
@@ -1 +1 @@
|
||||
export {Browser as Sentry} from 'sentry-expo'
|
||||
export * as Sentry from '@sentry/react-native'
|
||||
|
||||
Reference in New Issue
Block a user