File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ Usage: $(basename $0) [OPTIONS]
2424
2525Options:
2626 -a <String> Filter architecture, allowed values: 'server' or 'client'
27+ -b Use a real browser for client tests (default is headless)
2728 -c Activate code-coverage reports
2829 -g <RegExp> Filter tests by a given RegExp (uses Mocha-grep)
2930 -h Show help
@@ -32,7 +33,7 @@ Options:
3233"
3334
3435
35- while getopts " a:bcg :hov" opt; do
36+ while getopts " a:cg :hov" opt; do
3637 case $opt in
3738 a)
3839 if [ " $OPTARG " = " client" ]
7576# build paths:
7677
7778PROJECT_PATH=$( pwd)
78- T_PACKAGE_DIRS=" ../lib:../liboauth:./github"
79+ T_PACKAGE_DIRS=" ../lib:../libnpm:../ liboauth:../ :./github"
7980
8081PORT=3077
8182
9495# create command:
9596
9697METEOR_PACKAGE_DIRS=${T_PACKAGE_DIRS} \
97- TEST_SERVER=1 \
98+ TEST_SERVER=${T_SERVER} \
9899 TEST_CLIENT=${T_CLIENT} \
99100 MOCHA_GREP=${T_FILTER} \
100101 BABEL_ENV=COVERAGE \
101102 COVERAGE=${T_COVERAGE} \
102103 COVERAGE_OUT_HTML=1 \
104+ COVERAGE_OUT_LCOVONLY=1 \
103105 COVERAGE_APP_FOLDER=$PWD / \
104106 COVERAGE_VERBOSE_MODE=${T_VERBOSE} \
105107 meteor test \
You can’t perform that action at this time.
0 commit comments