I've been having a bit of difficulty getting this npm module working with Jest. I've installed a basic react app using create-react-app test, ejected it and added react-native-materialui-textfield as in import. Every time it's the same failure: SyntaxError: Unexpected identifier.
Has anyone else had this experience and if you were able to move beyond it, could you share your solution? I've tried everything I could find online for this issue, none seem to work for this package.
I don't know if it's a Jest / Babel fail yet as I've backed everything out to the most basic setup one could have in an attempt to isolate the issue. Am open to any and all suggestions.
I've been having a bit of difficulty getting this npm module working with Jest. I've installed a basic react app using
create-react-app test
, ejected it and addedreact-native-materialui-textfield
as in import. Every time it's the same failure:SyntaxError: Unexpected identifier
.Has anyone else had this experience and if you were able to move beyond it, could you share your solution? I've tried everything I could find online for this issue, none seem to work for this package.
I don't know if it's a Jest / Babel fail yet as I've backed everything out to the most basic setup one could have in an attempt to isolate the issue. Am open to any and all suggestions.