Skip to content

Commit

Permalink
tests: ci tests should include all files (#13235)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish authored Oct 21, 2021
1 parent b592c39 commit 12c32b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lighthouse-core/scripts/c8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -euxo pipefail
echo $*

node node_modules/.bin/c8 \
--include '{lighthouse-core,lighthouse-cli,lighthouse-viewer,lighthouse-treemap,build/plugins}' \
--include '{lighthouse-core,lighthouse-cli,lighthouse-viewer,lighthouse-treemap,build/plugins,report,flow-report}' \
--exclude third_party \
--exclude '**/test/' \
--exclude '**/scripts/' \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"unit-viewer": "yarn jest \"lighthouse-viewer/.*-test.js\"",
"unit-flow": "yarn jest \"flow-report/.*-test.[tj]s[x]?\"",
"unit": "yarn jest",
"unit:ci": "NODE_OPTIONS=--max-old-space-size=8192 npm run jest -- --ci",
"unit:ci": "NODE_OPTIONS=--max-old-space-size=8192 npm run jest --ci .",
"core-unit": "yarn unit-core",
"cli-unit": "yarn unit-cli",
"viewer-unit": "yarn unit-viewer",
Expand Down

0 comments on commit 12c32b3

Please sign in to comment.