Describe the bug
Upon upgrade to v2.6.4 many jest tests are failing with this error. Issue persists despite adding jest.mock('@datadog/mobile-react-native'); to my setup.
Reproduction steps
- Add a file or feature under test that imports from the datadog sdk
- Run test
SDK logs
N/A
Expected behavior
No response
Affected SDK versions
2.6.4 (latest)
Latest working SDK version
2.6.3
Did you confirm if the latest SDK version fixes the bug?
Yes
Integration Methods
Yarn
React Native Version
0.77.2 (old architecture)
Package.json Contents
No response
iOS Setup
No response
Android Setup
No response
Device Information
No response
Other relevant information
No response
Describe the bug
Upon upgrade to v2.6.4 many jest tests are failing with this error. Issue persists despite adding
jest.mock('@datadog/mobile-react-native');to my setup.Reproduction steps
SDK logs
N/A
Expected behavior
No response
Affected SDK versions
2.6.4 (latest)
Latest working SDK version
2.6.3
Did you confirm if the latest SDK version fixes the bug?
Yes
Integration Methods
Yarn
React Native Version
0.77.2 (old architecture)
Package.json Contents
No response
iOS Setup
No response
Android Setup
No response
Device Information
No response
Other relevant information
No response