X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=scripts%2Frun-tests.sh;h=5dd166f00a74cf05cf123793b876b52017d604f5;hb=9154f07d785b038e8af866da745a67f5ba531771;hp=4bc0718b39defbab1be6e35b5be24badd4ba5331;hpb=b6126069a9e468e80a27edf7bdf20ef0ae20b4fb;p=dygraphs.git diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 4bc0718..5dd166f 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -1,6 +1,8 @@ #!/bin/bash # Starts the http-server and runs mocha-phantomjs-based tests # Note that you must run `npm run build` or `npm run watch` before running this. +# Additional arguments are passed to mocha-phantomjs, e.g. +# run-tests.sh --grep interaction-model set -o errexit # Run http-server and save its PID