If I run yarn test
immediately after expo init --template bare-minimum
completes, the test fails with
SyntaxError: Support for the experimental syntax ‘classProperties’ isn’t currently enabled
expo --version
2.19.1
react-native --version
react-native-cli: 2.0.1
react-native: 0.59.8
Seems to be resolved by renaming .babelrc
to babel.config.js
and refactoring as appropriate.
module.exports = { presets: ["module:metro-react-native-babel-preset"] };
system
Closed
3
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.