diff --git a/scripts/integration-tests/e2e-prettier.sh b/scripts/integration-tests/e2e-prettier.sh index c210d549a67a..ca9b44b1deb3 100755 --- a/scripts/integration-tests/e2e-prettier.sh +++ b/scripts/integration-tests/e2e-prettier.sh @@ -15,7 +15,7 @@ source utils/cleanup.sh set -x # Clone prettier -git clone --depth=1 --single-branch --branch next https://github.com/prettier/prettier tmp/prettier +git clone --depth=1 https://github.com/prettier/prettier tmp/prettier cd tmp/prettier || exit # Update @babel/* dependencies @@ -42,14 +42,9 @@ yarn lint:typecheck # https://github.com/babel/babel/pull/14892#issuecomment-1233180626 echo "export default () => () => {}" > src/main/create-print-pre-check-function.js -# Temporarily ignore tests, use `rm -f path/to/jsfmt.spec.js` # https://github.com/babel/babel/pull/15400#issuecomment-1414539133 -# Ignore this test until prettier update the snapshot -# because prettier has ignored UnexpectedReservedWord error -rm -f tests/format/flow-repo/async/await_parse.js -rm -f tests/format/misc/errors/js/explicit-resource-management/invalid-using-binding-await.js -# https://github.com/babel/babel/pull/15384 -rm -f tests/format/misc/errors/typescript/modifiers/jsfmt.spec.js +# Temporarily ignore tests, use `rm -f path/to/jsfmt.spec.js` +# rm -f path/to/jsfmt.spec.js yarn test "tests/format/(jsx?|misc|typescript|flow|flow-repo)/" --update-snapshot --runInBand