diff --git a/packages/test-harness/scripts/build-tests.sh b/packages/test-harness/scripts/build-tests.sh index 462955afc4..b5c99511ea 100755 --- a/packages/test-harness/scripts/build-tests.sh +++ b/packages/test-harness/scripts/build-tests.sh @@ -1,6 +1,4 @@ #!/usr/bin/env bash set -euo pipefail -TESTS="$(find .. -name '*.test.ts')" - -pnpm run build:base --outdir=dist --out-extension:.js=.cjs $TESTS +find .. -name '*.test.ts' | xargs -n 50 pnpm run build:base --outdir=dist --out-extension:.js=.cjs