X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=scripts%2Frun-tests.sh;h=5dd166f00a74cf05cf123793b876b52017d604f5;hb=a5f3d82dc74669f378a1e7c63e10bd9804ce4ca2;hp=4bc0718b39defbab1be6e35b5be24badd4ba5331;hpb=a6d0469d23d09570ea47b87835b6c82a4671b8b4;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