SDK33 SyntaxError testing base bare-minimum template

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

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"] };

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.