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
This code is either not transformed properly so could be a change we need to make in babel config or jest config.
Probably this file should have been ignored by jest and this looks like flow(react native uses flow for type checking) code so most likely a babeltypescript plugin won't help.
The issue was fixed by downgrading jest to 26.x
upgrading jest requires significant changes to our test suite and can be an independent task in itself
cc @J-Son89@ilmotta
The issue was fixed by downgrading jest to 26.x upgrading jest requires significant changes to our test suite and can be an independent task in itself cc @J-Son89@ilmotta
Thanks @siddarthkay. I forgot the number of times in my life I read the sentence "upgrading jest requires significant changes".
Problem
After upgrading react-native,
make component-test
fails with :Assumptions
jest
.babel
config orjest
config.jest
and this looks like flow(react native uses flow for type checking) code so most likely ababel
typescript
plugin won't help.Related links
@react-native/polyfills/error-guard.js
not transpiled in distrobution facebook/react-native#33426 (same error in react-native repo)Blocks #17241
The text was updated successfully, but these errors were encountered: