Skip to content

Commit 9f0b224

Browse files
committed
Upgrade Mocha across packages and fix mocha.opts configuration deprecation
This commit also unifies mocha version across different packages.
1 parent 7a9dd6c commit 9f0b224

File tree

12 files changed

+207
-456
lines changed

12 files changed

+207
-456
lines changed

packages/ember-cli-fastboot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"eslint-plugin-prettier": "^3.3.1",
8787
"glob": "^7.1.3",
8888
"loader.js": "^4.7.0",
89-
"mocha": "^5.2.0",
89+
"mocha": "^9.1.2",
9090
"npm-run-all": "^4.1.5",
9191
"prettier": "^2.2.1",
9292
"qunit": "^2.14.1",

packages/fastboot-app-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"eslint": "^7.12.0",
3737
"eslint-plugin-mocha": "^8.0.0",
3838
"eslint-plugin-node": "^11.1.0",
39-
"mocha": "^8.2.0",
39+
"mocha": "^9.1.2",
4040
"npm-run-all": "^4.1.5",
4141
"release-it": "^14.2.0",
4242
"release-it-lerna-changelog": "^3.0.0",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require" : [
3+
"test/support/common"
4+
]
5+
}

packages/fastboot-express-middleware/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"eslint-plugin-node": "^11.0.0",
3737
"eslint-plugin-prettier": "^3.1.2",
3838
"express": "^4.13.4",
39-
"mocha": "^5.0.0",
39+
"mocha": "^9.1.2",
4040
"prettier": "^1.19.1",
4141
"release-it": "^14.2.0",
4242
"release-it-lerna-changelog": "^3.0.0",

packages/fastboot-express-middleware/test/mocha.opts

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/fastboot/.mocharc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"require" : [
3+
"test/support/common"
4+
],
5+
"timeout": 10000
6+
}

packages/fastboot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"express": "^4.17.1",
4949
"fixturify": "^2.1.0",
5050
"lerna-changelog": "^1.0.0",
51-
"mocha": "^7.0.1",
51+
"mocha": "^9.1.2",
5252
"prettier": "^1.19.1",
5353
"release-it": "^14.2.0",
5454
"release-it-lerna-changelog": "^3.0.0",

packages/fastboot/test/mocha.opts

Lines changed: 0 additions & 2 deletions
This file was deleted.

test-packages/basic-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"fake-addon": "*",
6262
"fake-addon-2": "*",
6363
"loader.js": "^4.7.0",
64-
"mocha": "^8.0.1",
64+
"mocha": "^9.1.2",
6565
"npm-run-all": "^4.1.5",
6666
"qunit-dom": "^1.2.0"
6767
},

test-packages/custom-fastboot-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"eslint-plugin-ember": "^8.6.0",
5555
"eslint-plugin-node": "^11.1.0",
5656
"loader.js": "^4.7.0",
57-
"mocha": "^8.0.1",
57+
"mocha": "^9.1.2",
5858
"npm-run-all": "^4.1.5",
5959
"qunit-dom": "^1.2.0"
6060
},

0 commit comments

Comments
 (0)