You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run my tests, I got an error with the following stacktrace:
/Users/jrm2k6/Workspace/local.dev/my-companion/node_modules/react-native/Libraries/react-native/react-native.js:15
if (__DEV__) {
^
ReferenceError: __DEV__ is not defined
I have another project using this package in combination with react-native-config, but using mocha instead of ava, and just pulling this package worked. I have pretty much the same config in there. Any idea how I could fix that?
I am trying to unit tests some of my RN components with ava.
I have the following in my package.json:
When I try to run my tests, I got an error with the following stacktrace:
I have another project using this package in combination with react-native-config, but using mocha instead of ava, and just pulling this package worked. I have pretty much the same config in there. Any idea how I could fix that?