just upgraded to sdk 34. After following the upgrade instructions and “expo installing” a bunch of modules I finally got everything running in the simulator and on a device! Nice work!
But… when I was about to commit and of course running tests, it seems that jest is kind of not very happy:
Invariant Violation: __fbBatchedBridgeConfig is not set, cannot invoke native modules at invariant (node_modules/invariant/invariant.js:40:15) at Object.invariant (node_modules/@unimodules/react-native-adapter/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:165:3) at Object.require [as NativeModules] (node_modules/@unimodules/react-native-adapter/node_modules/react-native/Libraries/react-native/react-native-implementation.js:342:12) at Object.<anonymous> (node_modules/@unimodules/react-native-adapter/src/NativeModulesProxy.ts:3:21)
I’m getting this on all component tests…
Libs used for testing:
Hunch is that it’s a unimodule thingy.
Jest was working fine after upgrading to sdk 33…
I realise this is not the deepest description, but just in case theres a simple answer.