Skip to content

Commit e4ef06a

Browse files
committed
build: mocha@9.0.2
1 parent 88951e8 commit e4ef06a

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,11 @@ jobs:
7575

7676
- name: Node.js 10.x
7777
node-version: "10.24"
78+
npm-i: mocha@8.4.0
7879

7980
- name: Node.js 11.x
8081
node-version: "11.15"
82+
npm-i: mocha@8.4.0
8183

8284
- name: Node.js 12.x
8385
node-version: "12.22"

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ install:
4141
# - use 5.x for Node.js < 6
4242
# - use 6.x for Node.js < 8
4343
# - use 7.x for Node.js < 10
44+
# - use 8.x for Node.js < 12
4445
if ([int]$env:nodejs_version.split(".")[0] -lt 4) {
4546
npm install --silent --save-dev mocha@3.5.3
4647
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 6) {
@@ -49,6 +50,8 @@ install:
4950
npm install --silent --save-dev mocha@6.2.3
5051
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 10) {
5152
npm install --silent --save-dev mocha@7.2.0
53+
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 12) {
54+
npm install --silent --save-dev mocha@8.4.0
5255
}
5356
- ps: |
5457
# rimraf for testing cleanup

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"eslint-plugin-node": "11.1.0",
4444
"eslint-plugin-promise": "4.3.1",
4545
"eslint-plugin-standard": "4.1.0",
46-
"mocha": "8.4.0",
46+
"mocha": "9.0.2",
4747
"rimraf": "3.0.2",
4848
"supertest": "6.1.3",
4949
"tree-kill": "1.2.2",

0 commit comments

Comments
 (0)