Open wojtekmaj opened 4 months ago
It seems the issue might be:
var _reactNative = require("react-native");
is there any updates on that issue?
I'm having a similar problem, but with other dependency:
SyntaxError: Cannot use import statement outside a module
❯ Object.newLoader [as .js] node_modules/pirates/lib/index.js:121:7
I have the same error message except it appears for a firebase import, I tried a lot of things, but nothing seems to work.
The same issue, we can't add any related configs to react native library (as @testing-library/react-native or react-native-unistyles) to the setup file in vitest.config. It's really a big blocker
As soon as I setup app using
@testing-library/react-native
, I get:I previously raised #5 and closed it, but it seems the same issue is now "passed over" to @testing-library/react-native.