diff --git a/packages/core/jest/mock.js b/packages/core/jest/mock.js index fa384c155..082efd2f7 100644 --- a/packages/core/jest/mock.js +++ b/packages/core/jest/mock.js @@ -18,6 +18,7 @@ const actualDatadog = jest.requireActual('@datadog/mobile-react-native'); const DatadogProviderMock = ({ children }) => { return <>{children}; }; +DatadogProviderMock.initialize = jest.fn().mockResolvedValue() module.exports = { ...actualDatadog,