Skip to content

Commit

Permalink
Fix prettier e2e test for Babel 8
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 3, 2023
1 parent 81cfacf commit 361c4dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/integration-tests/e2e-prettier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ node "$root/utils/bump-babel-dependencies.js"
if [ "$BABEL_8_BREAKING" = true ] ; then
# Based on https://github.com/prettier/prettier/pull/15157
sed -i 's/const getChalk = () => chalk/default (code) => code/' scripts/build/shims/babel-highlight.js
sed -i 's/const generate = babelGenerator.default/const generate = babelGenerator/' scripts/build/transform/eastasianwidth-module.js
sed -i 's/const generate = babelGenerator.default/const generate = babelGenerator/' scripts/build/transform/index.js
sed -i 's/,"updateContext":null//g' tests/integration/__tests__/__snapshots__/debug-print-ast.js.snap
rm tests/unit/__snapshots__/visitor-keys.js.snap
Expand Down

0 comments on commit 361c4dd

Please sign in to comment.