Jest + react-native-firebase: Invariant Violation: Native module cannot be null.

Hello there,
Thanks for the firebase bridge. We are trying to use the library and it works great, apart from the fact that the jest tests are breaking with the following error:

    Invariant Violation: Native module cannot be null.

      at invariant (node_modules/fbjs/lib/invariant.js:44:15)
      at new NativeEventEmitter (node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js:32:1)
      at Object.<anonymous> (node_modules/react-native-firebase/lib/modules/base.js:10:23)
      at Object.<anonymous> (node_modules/react-native-firebase/lib/modules/auth/index.js:5:11)

Any idea what can be done about it?

2 thoughts on “Jest + react-native-firebase: Invariant Violation: Native module cannot be null.

Comments are closed.

Jest + react-native-firebase: Invariant Violation: Native module cannot be null.

Hello there,
Thanks for the firebase bridge. We are trying to use the library and it works great, apart from the fact that the jest tests are breaking with the following error:

    Invariant Violation: Native module cannot be null.

      at invariant (node_modules/fbjs/lib/invariant.js:44:15)
      at new NativeEventEmitter (node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js:32:1)
      at Object.<anonymous> (node_modules/react-native-firebase/lib/modules/base.js:10:23)
      at Object.<anonymous> (node_modules/react-native-firebase/lib/modules/auth/index.js:5:11)

Any idea what can be done about it?

2 thoughts on “Jest + react-native-firebase: Invariant Violation: Native module cannot be null.

Comments are closed.

Jest + react-native-firebase: Invariant Violation: Native module cannot be null.

Hello there,
Thanks for the firebase bridge. We are trying to use the library and it works great, apart from the fact that the jest tests are breaking with the following error:

    Invariant Violation: Native module cannot be null.

      at invariant (node_modules/fbjs/lib/invariant.js:44:15)
      at new NativeEventEmitter (node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js:32:1)
      at Object.<anonymous> (node_modules/react-native-firebase/lib/modules/base.js:10:23)
      at Object.<anonymous> (node_modules/react-native-firebase/lib/modules/auth/index.js:5:11)

Any idea what can be done about it?

2 thoughts on “Jest + react-native-firebase: Invariant Violation: Native module cannot be null.

Comments are closed.

Jest + react-native-firebase: Invariant Violation: Native module cannot be null.

Hello there,
Thanks for the firebase bridge. We are trying to use the library and it works great, apart from the fact that the jest tests are breaking with the following error:

    Invariant Violation: Native module cannot be null.

      at invariant (node_modules/fbjs/lib/invariant.js:44:15)
      at new NativeEventEmitter (node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js:32:1)
      at Object.<anonymous> (node_modules/react-native-firebase/lib/modules/base.js:10:23)
      at Object.<anonymous> (node_modules/react-native-firebase/lib/modules/auth/index.js:5:11)

Any idea what can be done about it?

2 thoughts on “Jest + react-native-firebase: Invariant Violation: Native module cannot be null.

Comments are closed.