Skip to content

Commit c3de6e9

Browse files
committed
Upgrade mocha
Closes #99.
1 parent 308f9cd commit c3de6e9

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

generators/app/templates/_package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@
8383
"puppeteer": "^1.6.1",<% } %>
8484
"karma-html2js-preprocessor": "^1.0.0",
8585
"karma-fixture": "^0.2.6",
86-
"karma-mocha": "^1.3.0",
86+
"karma-mocha": "^2.0.1",
8787
"karma-mocha-reporter": "^2.2.5"<% } %><% if ( automatedTests || integrationTests ) { %>,
88-
"mocha": "^4.1.0"<% if ( esModules ) { %>,
88+
"mocha": "^8.2.0"<% if ( esModules ) { %>,
8989
"esm": "^3.0.51"<% } %><% } %><% if ( automatedTests && codeCoverage && !browserModule ) { %>,
9090
"nyc": "^12.0.2"<% } %><% if ( automatedTests && codeCoverage && browserModule && !sassModule ) { %><% if ( bundlingTool === 'webpack' ) { %>,
9191
"istanbul-instrumenter-loader": "^3.0.1"<% } %><% if ( bundlingTool === 'rollup' ) { %>,
@@ -111,7 +111,7 @@
111111
"sass-true": "^2.1.3"<% } %><% if ( integrationTests ) { %><% if ( cloudBrowsers ) { %>,
112112
"@wdio/browserstack-service": "^5.8.0"<% } %>,
113113
"wdio-docker-service": "^2.1.0",
114-
"@wdio/mocha-framework": "^5.8.0",
114+
"@wdio/mocha-framework": "^6.6.8",
115115
"@wdio/spec-reporter": "^5.8.0",
116116
"@wdio/cli": "^5.8.0",
117117
"webdriverio": "^5.8.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"eslint-plugin-vue": "^7.1.0",
4949
"husky": "^4.3.0",
5050
"lint-staged": "^10.4.2",
51-
"mocha": "^4.1.0",
51+
"mocha": "^8.2.0",
5252
"np": "^6.5.0",
5353
"nyc": "^12.0.2",
5454
"prettier": "^2.1.2",

test/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ describe('Automated tests', function () {
190190
'test:watch': 'npm test -- --watch'
191191
},
192192
devDependencies: {
193-
mocha: '^4.1.0',
193+
mocha: '^8.2.0',
194194
'eslint-plugin-mocha': '^8.0.0'
195195
}
196196
});
@@ -231,7 +231,7 @@ describe('Automated tests, browser module', function () {
231231
'karma-chrome-launcher': '^2.2.0',
232232
'karma-html2js-preprocessor': '^1.0.0',
233233
'karma-fixture': '^0.2.6',
234-
'karma-mocha': '^1.3.0',
234+
'karma-mocha': '^2.0.1',
235235
'karma-mocha-reporter': '^2.2.5',
236236
webpack: '^4.12.0'
237237
}
@@ -312,7 +312,7 @@ describe('Integration tests', function () {
312312
devDependencies: {
313313
'local-web-server': '^1.2.4',
314314
'@wdio/browserstack-service': '^5.8.0',
315-
'@wdio/mocha-framework': '^5.8.0',
315+
'@wdio/mocha-framework': '^6.6.8',
316316
'@wdio/spec-reporter': '^5.8.0',
317317
webdriverio: '^5.8.0',
318318
'http-shutdown': '^1.0.3'

0 commit comments

Comments
 (0)