From 733570a009fcaa539babd716651f14148ecc2758 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Thu, 2 Dec 2021 23:09:00 -0500 Subject: [PATCH] build: mocha@9.1.3 --- .github/workflows/ci.yml | 2 ++ appveyor.yml | 3 +++ package.json | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9444ab6..7c33981 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,9 +82,11 @@ jobs: - name: Node.js 10.x node-version: "10.24" + npm-i: mocha@8.4.0 - name: Node.js 11.x node-version: "11.15" + npm-i: mocha@8.4.0 - name: Node.js 12.x node-version: "12.22" diff --git a/appveyor.yml b/appveyor.yml index 207778d..9431cbe 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -45,6 +45,7 @@ install: # - use 5.x for Node.js < 6 # - use 6.x for Node.js < 8 # - use 7.x for Node.js < 10 + # - use 8.x for Node.js < 12 if ([int]$env:nodejs_version.split(".")[0] -eq 0 -and [int]$env:nodejs_version.split(".")[1] -lt 10) { npm install --silent --save-dev mocha@2.5.3 } elseif ([int]$env:nodejs_version.split(".")[0] -lt 4) { @@ -55,6 +56,8 @@ install: npm install --silent --save-dev mocha@6.2.3 } elseif ([int]$env:nodejs_version.split(".")[0] -lt 10) { npm install --silent --save-dev mocha@7.2.0 + } elseif ([int]$env:nodejs_version.split(".")[0] -lt 12) { + npm install --silent --save-dev mocha@8.4.0 } - ps: | # supertest for http calls diff --git a/package.json b/package.json index 504577e..3a1c4f1 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "eslint-plugin-promise": "5.1.1", "eslint-plugin-standard": "4.1.0", "istanbul": "0.4.5", - "mocha": "8.4.0", + "mocha": "9.1.3", "safe-buffer": "5.2.1", "supertest": "6.1.6" },