diff --git a/diachron/cmd.d/test b/diachron/cmd.d/test index 7319eb7..37adfe4 100755 --- a/diachron/cmd.d/test +++ b/diachron/cmd.d/test @@ -8,7 +8,7 @@ cd "$DIR/../../backend" if [ $# -eq 0 ]; then # Find all test files - use -print0/xargs to handle filenames safely - find . -type f \( -name '*.spec.ts' -o -name '*.test.ts' \) -print0 | \ + find . -type f \( -name '*.spec.ts' -o -name '*.test.ts' \) -print0 | xargs -0 "$DIR"/../shims/pnpm tsx --test else "$DIR"/../shims/pnpm tsx --test "$@"