Skip to content

Commit

Permalink
build(test): recursively find test files; fail on unsupported depende…
Browse files Browse the repository at this point in the history
…ncy versions (#717)
  • Loading branch information
feywind authored Sep 12, 2020
1 parent b15c0c0 commit fdd03c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node-version: ${{ '{{' }} matrix.node {{ '}}' }}
- run: node --version
- run: npm install
- run: npm install --engine-strict
- run: npm test
- name: coverage
uses: codecov/codecov-action@v1
Expand Down
3 changes: 2 additions & 1 deletion synthtool/gcp/templates/node_library/.mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
"timeout": 10000,
"recursive": true
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
Expand Down

0 comments on commit fdd03c1

Please sign in to comment.