Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 21a257b

Browse files
build(node): don't throw on deprecation in unit tests (#76)
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 630b974 commit 21a257b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/repo-automation-bots/owlbot-nodejs:latest
3-
digest: sha256:c9c7828c165b1985579098978877935ee52dda2b1b538087514fd24fa2443e7a
3+
digest: sha256:805e2e389eafefa5ed484c30b83a7a875e6b1c7ee125d812e8b01ecc531c3fac

.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)