Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Jul 22, 2022
1 parent ddc7b7b commit 6fe5cfb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/integration-tests/e2e-prettier.sh
Expand Up @@ -15,7 +15,7 @@ source utils/cleanup.sh
set -x

# Clone prettier
git clone --depth=1 https://github.com/prettier/prettier tmp/prettier
git clone --depth=1 --single-branch --branch next https://github.com/prettier/prettier tmp/prettier
cd tmp/prettier || exit

# Update @babel/* dependencies
Expand All @@ -38,8 +38,7 @@ export YARN_IGNORE_PATH=1
startLocalRegistry "$root"/verdaccio-config.yml
yarn install

# Only run js,jsx,misc format tests
# Without --runInBand CircleCI hangs.
yarn test "tests/format/(jsx?|misc|typescript|flow|flow-repo)/" --update-snapshot
yarn test "tests/format/(jsx?|misc|typescript|flow|flow-repo)/" --update-snapshot --runInBand

cleanup

0 comments on commit 6fe5cfb

Please sign in to comment.