mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #359 from sharelatex/as-mocha-reporter
Switch to karma-mocha-reporter
This commit is contained in:
commit
25488456a5
3 changed files with 79 additions and 9 deletions
|
@ -29,8 +29,8 @@ module.exports = function (config) {
|
|||
require('karma-mocha'),
|
||||
require('karma-chai-sinon'),
|
||||
require('karma-chrome-launcher'),
|
||||
require('karma-tap-reporter')
|
||||
require('karma-mocha-reporter')
|
||||
],
|
||||
reporters: ['tap']
|
||||
reporters: ['mocha']
|
||||
});
|
||||
}
|
||||
|
|
82
services/web/npm-shrinkwrap.json
generated
82
services/web/npm-shrinkwrap.json
generated
|
@ -5946,18 +5946,56 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"karma-mocha-reporter": {
|
||||
"version": "2.2.5",
|
||||
"from": "karma-mocha-reporter@latest",
|
||||
"resolved": "https://registry.npmjs.org/karma-mocha-reporter/-/karma-mocha-reporter-2.2.5.tgz",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"ansi-regex": {
|
||||
"version": "3.0.0",
|
||||
"from": "ansi-regex@>=3.0.0 <4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
|
||||
"dev": true
|
||||
},
|
||||
"ansi-styles": {
|
||||
"version": "3.2.0",
|
||||
"from": "ansi-styles@>=3.2.0 <4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz",
|
||||
"dev": true
|
||||
},
|
||||
"chalk": {
|
||||
"version": "2.3.1",
|
||||
"from": "chalk@>=2.1.0 <3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "3.0.0",
|
||||
"from": "has-flag@>=3.0.0 <4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
||||
"dev": true
|
||||
},
|
||||
"strip-ansi": {
|
||||
"version": "4.0.0",
|
||||
"from": "strip-ansi@>=4.0.0 <5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
|
||||
"dev": true
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "5.2.0",
|
||||
"from": "supports-color@>=5.2.0 <6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"karma-requirejs": {
|
||||
"version": "1.1.0",
|
||||
"from": "karma-requirejs@latest",
|
||||
"resolved": "https://registry.npmjs.org/karma-requirejs/-/karma-requirejs-1.1.0.tgz",
|
||||
"dev": true
|
||||
},
|
||||
"karma-tap-reporter": {
|
||||
"version": "0.0.6",
|
||||
"from": "karma-tap-reporter@latest",
|
||||
"resolved": "https://registry.npmjs.org/karma-tap-reporter/-/karma-tap-reporter-0.0.6.tgz",
|
||||
"dev": true
|
||||
},
|
||||
"keygrip": {
|
||||
"version": "1.0.2",
|
||||
"from": "keygrip@>=1.0.2 <1.1.0",
|
||||
|
@ -6476,6 +6514,38 @@
|
|||
"from": "lodash.values@>=4.3.0 <5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/lodash.values/-/lodash.values-4.3.0.tgz"
|
||||
},
|
||||
"log-symbols": {
|
||||
"version": "2.2.0",
|
||||
"from": "log-symbols@>=2.1.0 <3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "3.2.0",
|
||||
"from": "ansi-styles@^3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz",
|
||||
"dev": true
|
||||
},
|
||||
"chalk": {
|
||||
"version": "2.3.1",
|
||||
"from": "chalk@^2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "3.0.0",
|
||||
"from": "has-flag@^3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
||||
"dev": true
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "5.2.0",
|
||||
"from": "supports-color@^5.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"log4js": {
|
||||
"version": "2.5.3",
|
||||
"from": "log4js@>=2.3.9 <3.0.0",
|
||||
|
|
|
@ -123,8 +123,8 @@
|
|||
"karma-chai-sinon": "^0.1.5",
|
||||
"karma-chrome-launcher": "^2.2.0",
|
||||
"karma-mocha": "^1.3.0",
|
||||
"karma-mocha-reporter": "^2.2.5",
|
||||
"karma-requirejs": "^1.1.0",
|
||||
"karma-tap-reporter": "0.0.6",
|
||||
"mkdirp": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
|
||||
"nodemon": "^1.14.3",
|
||||
"requirejs": "^2.1.22",
|
||||
|
|
Loading…
Reference in a new issue