diff --git a/scripts/mock b/scripts/mock index 5a8c35b72..fe89a1d08 100755 --- a/scripts/mock +++ b/scripts/mock @@ -21,7 +21,7 @@ echo "==> Starting mock server with URL ${URL}" # Run prism mock on the given spec if [ "$1" == "--daemon" ]; then - npm exec --package=@stoplight/prism-cli@~5.3.2 -- prism mock "$URL" &> .prism.log & + npm exec --package=@stoplight/prism-cli@~5.8 -- prism mock "$URL" &> .prism.log & # Wait for server to come online echo -n "Waiting for server" @@ -37,5 +37,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stoplight/prism-cli@~5.3.2 -- prism mock "$URL" + npm exec --package=@stoplight/prism-cli@~5.8 -- prism mock "$URL" fi diff --git a/scripts/test b/scripts/test index aa94b72d8..b62a7cccd 100755 --- a/scripts/test +++ b/scripts/test @@ -54,4 +54,4 @@ fi # Run tests echo "==> Running tests" -./node_modules/.bin/jest +./node_modules/.bin/jest "$@"