diff --git a/integration-tests/lockfile/lockfile.sh b/integration-tests/lockfile/lockfile.sh index b69dca6b..e7872269 100755 --- a/integration-tests/lockfile/lockfile.sh +++ b/integration-tests/lockfile/lockfile.sh @@ -1,5 +1,3 @@ -#!/usr/bin/env bash - # make sure errors stop the script set -e @@ -7,6 +5,9 @@ echo "add patch-package" npm i $1 alias patch-package=./node_modules/.bin/patch-package +echo "Add left-pad" +npm i left-pad@1.3.0 + testLockFile() { echo "Version test $1" npm i --lockfile-version $1 @@ -24,9 +25,6 @@ testLockFile() { test -f patches/left-pad+1.3.0.patch || exit 1 } -echo "test lockfile v1" -testLockFile 1 - echo "test lockfile v2" testLockFile 2