Skip to content

Commit f60fd8e

Browse files
committed
iterate
1 parent 68b6159 commit f60fd8e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bin/test_package.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ PROJECT_DIR=$(dirname "$SCRIPT_DIR")
1010
all_tests_passed=true
1111

1212
# Check if we have enough arguments
13-
if [ $# -eq 2 ]
14-
then
15-
echo "No arguments supplied, please provide the package's path."
13+
if [ $# -ne 2 ]; then
14+
echo "No arguments supplied, please provide the package's path and the test type (e.g. --unit or --browser)"
1615
fi
1716

1817
# Check if jq is installed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"build": "pnpm run --filter @symfony/ux-map build && pnpm run -r --aggregate-output build",
1111
"test": "pnpm run -r --workspace-concurrency=1 test",
12-
"test:unit": "pnpm run -r test:unit",
12+
"test:unit": "pnpm run -r --aggregate-output test:unit",
1313
"test:browser": "pnpm run -r --workspace-concurrency=1 test:browser",
1414
"check": "biome check",
1515
"ci": "biome ci"

0 commit comments

Comments
 (0)