From 3b6e68a66271a948d5f28f8f99a0b8423e693ee9 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 24 Jun 2021 17:53:23 +0000 Subject: [PATCH] build(node): don't throw on deprecation in unit tests (#243) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1134 🦕 Removes the commit body and relative PR# from the commit message. For example, for this commit: https://github.com/googleapis/synthtool/commit/9763f20e4b7bb1091082462b2f7970e965d0d414 `post-processor-changes.txt` would contain ``` build: enable npm for php/python builds Source-Link: https://github.com/googleapis/synthtool/commit/9763f20e4b7bb1091082462b2f7970e965d0d414 ``` instead of ``` build: enable npm for php/python builds (#1133) * build: enable npm for php/python builds * update comment Source-Link: https://github.com/googleapis/synthtool/commit/9763f20e4b7bb1091082462b2f7970e965d0d414 ``` Source-Link: https://github.com/googleapis/synthtool/commit/e934b93402284f834b510ebbf421864e881dce02 Post-Processor: gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:805e2e389eafefa5ed484c30b83a7a875e6b1c7ee125d812e8b01ecc531c3fac --- .github/.OwlBot.lock.yaml | 2 +- .github/workflows/ci.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index e7c45fd..7b83ac8 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-nodejs:latest - digest: sha256:c9c7828c165b1985579098978877935ee52dda2b1b538087514fd24fa2443e7a + digest: sha256:805e2e389eafefa5ed484c30b83a7a875e6b1c7ee125d812e8b01ecc531c3fac diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dbcdc7c..f033c0d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,6 +24,8 @@ jobs: - run: rm -rf node_modules - run: npm install - run: npm test + env: + MOCHA_THROW_DEPRECATION: false windows: runs-on: windows-latest steps: @@ -33,6 +35,8 @@ jobs: node-version: 14 - run: npm install - run: npm test + env: + MOCHA_THROW_DEPRECATION: false lint: runs-on: ubuntu-latest steps: