We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fdc6fb commit 81a6c28Copy full SHA for 81a6c28
scripts/mock
@@ -21,7 +21,7 @@ echo "==> Starting mock server with URL ${URL}"
21
22
# Run prism mock on the given spec
23
if [ "$1" == "--daemon" ]; then
24
- 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 &
25
26
# Wait for server to come online
27
echo -n "Waiting for server"
@@ -37,5 +37,5 @@ if [ "$1" == "--daemon" ]; then
37
38
echo
39
else
40
- npm exec --package=@stoplight/prism-cli@~5.3.2 -- prism mock "$URL"
+ npm exec --package=@stoplight/prism-cli@~5.8 -- prism mock "$URL"
41
fi
scripts/test
@@ -54,4 +54,4 @@ fi
54
55
# Run tests
56
echo "==> Running tests"
57
-./node_modules/.bin/jest
+./node_modules/.bin/jest "$@"
0 commit comments