docs: update available platforms for `test.sh` (#22958)

PR Close #22958
This commit is contained in:
George Kalpakas 2018-03-23 16:55:32 +02:00 committed by Matias Niemelä
parent 7966744a44
commit 60d99839de
2 changed files with 4 additions and 3 deletions

View File

@ -97,9 +97,10 @@ To run tests:
$ ./test.sh node # Run all angular tests on node $ ./test.sh node # Run all angular tests on node
$ ./test.sh browser # Run all angular tests in browser $ ./test.sh browser # Run all angular tests in browser
$ ./test.sh browserNoRouter # Optionally run all angular tests without router in browser $ ./test.sh browserNoRouter # Optionally run all angular tests without router in browser
$ ./test.sh tools # Run angular tooling (not framework) tests $ ./test.sh router # Optionally run only the router tests in browser
``` ```
You should execute the 3 test suites before submitting a PR to github. You should execute the 3 test suites before submitting a PR to github.

View File

@ -6,8 +6,8 @@ if [ $# -eq 0 ]
then then
echo "Angular test runner. (No platform specified)" echo "Angular test runner. (No platform specified)"
echo echo
echo "./test.sh [node|browser|browserNoRouter|router|tools] [--debug]" echo "./test.sh [node|browser|browserNoRouter|router] [--debug]"
echo "(--debug flag only relevant to 'node' and 'tools' testing - see https://github.com/angular/angular/blob/master/docs/DEBUG.md)" echo "(--debug flag only relevant to 'node' testing - see https://github.com/angular/angular/blob/master/docs/DEBUG.md)"
echo echo
else else
cd `dirname $0` cd `dirname $0`