Skip to content

Commit 2afecb2

Browse files
mohd-akramjaylinski
authored andcommitted
Fix running integration tests on macOS
1 parent cb828aa commit 2afecb2

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

tests/integration/multi-nodejs-test/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ unset npm_config_prefix
1616
echo "Handlebars should be able to run in various versions of NodeJS"
1717
for node_version_to_test in 12 14 16 18; do
1818

19-
rm target node_modules package-lock.json -rf
19+
rm -rf target node_modules package-lock.json
2020
mkdir target
2121

2222
nvm install "$node_version_to_test"

tests/integration/rollup-test/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
set -e
44

55
# Cleanup: package-lock and "npm ci" is not working with local dependencies
6-
rm dist package-lock.json -rf
6+
rm -rf dist package-lock.json
77
npm install
88
npm run build
99

1010
node dist/bundle.js
11-
echo "Success"
11+
echo "Success"

tests/integration/webpack-babel-test/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
# Cleanup: package-lock and "npm ci" is not working with local dependencies
6-
rm dist package-lock.json -rf
6+
rm -rf dist package-lock.json
77
npm install --legacy-peer-deps
88
npm run build
99

@@ -13,4 +13,4 @@ for i in dist/*-test.js ; do
1313
echo "----------------------"
1414
node "$i"
1515
echo "Success"
16-
done
16+
done

tests/integration/webpack-test/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
# Cleanup: package-lock and "npm ci" is not working with local dependencies
6-
rm dist package-lock.json -rf
6+
rm -rf dist package-lock.json
77
npm install --legacy-peer-deps
88
npm run build
99

@@ -13,4 +13,4 @@ for i in dist/*-test.js ; do
1313
echo "----------------------"
1414
node "$i"
1515
echo "Success"
16-
done
16+
done

0 commit comments

Comments
 (0)