File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,18 @@ trap cleanup EXIT
2929
3030UNIT=coverage-unit-test
3131SYSTEM=coverage-system-test
32+ # TODO- b/462434591: Add coverage for interactions tests.
33+ EXCLUDE_FLAGS=(
34+ " --exclude" " src/interactions/**"
35+ )
3236# TODO: b/435204110 - Add coverage for table tests.
3337
3438# Generate the reports for each test suite separately to avoid covering each
3539# other.
3640tsc
3741GOOGLE_API_KEY=googapikey GOOGLE_CLOUD_PROJECT=googcloudproj GOOGLE_CLOUD_LOCATION=googcloudloc
38- c8 --reporter=json --report-dir=./${WORK_DIR} /${UNIT} jasmine dist/test/unit/** /* _test.js dist/test/unit/* _test.js
39- c8 --reporter=json --report-dir=./${WORK_DIR} /${SYSTEM} jasmine dist/test/system/node/* _test.js -- --test-server
42+ c8 " ${EXCLUDE_FLAGS[@]} " --reporter=json --report-dir=./${WORK_DIR} /${UNIT} jasmine dist/test/unit/** /* _test.js dist/test/unit/* _test.js
43+ c8 " ${EXCLUDE_FLAGS[@]} " --reporter=json --report-dir=./${WORK_DIR} /${SYSTEM} jasmine dist/test/system/node/* _test.js -- --test-server
4044
4145# Move all the generated coverage reports to the same directory to merge reports.
4246mv ./${WORK_DIR} /${UNIT} /coverage-final.json ./${WORK_DIR} /${UNIT} -coverage-report.json
You can’t perform that action at this time.
0 commit comments