Skip to content

Commit

Permalink
Fix vue tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Mar 25, 2022
1 parent fae3676 commit 17e1e3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/integration-tests/e2e-vue-cli.sh
Expand Up @@ -35,6 +35,11 @@ if [[ "$(node --version)" == v17.* ]]; then
export NODE_OPTIONS=--openssl-legacy-provider
fi

if [ "$BABEL_8_BREAKING" = true ] ; then
# This option is renamed in Babel 8
sed -i 's/legacy: decoratorsLegacy !== false/version: decoratorsLegacy === false ? "legacy": "2021-12"/g' packages/@vue/babel-preset-app/index.js
fi

# Test
CI=true yarn test -p babel,babel-preset-app

Expand Down

0 comments on commit 17e1e3b

Please sign in to comment.