Skip to content

Commit 3e031e8

Browse files
committed
chore: tweaks > test.sh
scripts/test.sh
1 parent be8840d commit 3e031e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
bun run build
1111

1212
if [ "$#" -gt 0 ]; then
13-
node dist/index.js "$@"
13+
node dist/index.mjs "$@"
1414
exit 0
1515
fi
1616

@@ -46,11 +46,11 @@ for i in "${!TEST_CASES[@]}"; do
4646

4747
echo ------------------------- $TEST_NUMBER -------------------------
4848
echo
49-
echo "🚀 Running test case #$TEST_NUMBER CMD: node dist/index.js clone $TEST_CASE test/$TEST_NUMBER"
49+
echo "🚀 Running test case #$TEST_NUMBER CMD: node dist/index.mjs clone $TEST_CASE test/$TEST_NUMBER"
5050

5151
rm -rf test/$TEST_NUMBER
5252

53-
if eval "node dist/index.js clone $TEST_CASE test/$TEST_NUMBER"; then
53+
if eval "node dist/index.mjs clone $TEST_CASE test/$TEST_NUMBER"; then
5454
if [ "$(ls -A test/$TEST_NUMBER)" ]; then
5555
cd test/$TEST_NUMBER
5656

0 commit comments

Comments
 (0)