File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ set -euo pipefail
44
55cd " $( git rev-parse --show-toplevel) "
66
7- # read optional first arg; empty means "run all workspaces"
87WORKSPACE=" ${WORKSPACE:- } "
98
109# This file is for you! Edit it to call your unit test suite. Note that the same
@@ -21,17 +20,5 @@ WORKSPACE="${WORKSPACE:-}"
2120# tasks in scripts/test.mk.
2221
2322# run tests
24- if [[ -n " $WORKSPACE " ]]; then
25- npm run test:unit --workspace=" $WORKSPACE "
26- else
27- npm run test:unit --workspaces
23+ npm run test:unit --workspace=" $WORKSPACE "
2824
29- # merge coverage reports
30- mkdir -p .reports
31- TMPDIR=" ./.reports" ./node_modules/.bin/lcov-result-merger \
32- " **/.reports/unit/coverage/lcov.info" \
33- " .reports/lcov.info" \
34- --ignore " node_modules" \
35- --prepend-source-files \
36- --prepend-path-fix " ../../.."
37- fi
You can’t perform that action at this time.
0 commit comments