Skip to content

Commit 3d1195e

Browse files
build(node): don't throw on deprecation in unit tests (#749)
Fixes #1134 🦕 Removes the commit body and relative PR# from the commit message. For example, for this commit: googleapis/synthtool@9763f20 `post-processor-changes.txt` would contain ``` build: enable npm for php/python builds Source-Link: googleapis/synthtool@9763f20 ``` instead of ``` build: enable npm for php/python builds (#1133) * build: enable npm for php/python builds * update comment Source-Link: googleapis/synthtool@9763f20 ``` Source-Link: googleapis/synthtool@e934b93 Post-Processor: gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:805e2e389eafefa5ed484c30b83a7a875e6b1c7ee125d812e8b01ecc531c3fac
1 parent 1fdf048 commit 3d1195e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • handwritten/devtools-cloudprofiler/.github/workflows

handwritten/devtools-cloudprofiler/.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- run: rm -rf node_modules
2525
- run: npm install
2626
- run: npm test
27+
env:
28+
MOCHA_THROW_DEPRECATION: false
2729
windows:
2830
runs-on: windows-latest
2931
steps:
@@ -33,6 +35,8 @@ jobs:
3335
node-version: 14
3436
- run: npm install
3537
- run: npm test
38+
env:
39+
MOCHA_THROW_DEPRECATION: false
3640
lint:
3741
runs-on: ubuntu-latest
3842
steps:

0 commit comments

Comments
 (0)