test(project): use built-in progress reporter
* yields performance gains up to 30% compared to spec reporter
This commit is contained in:
parent
ce964e4182
commit
b00c673c7d
|
@ -5196,15 +5196,6 @@
|
||||||
"integrity": "sha512-SDgh6V0CUd+7ruL1d3yG6lFzmJNGRNQuEuCYXLaorruNP9nwQfA7hpsp4clx4CbOo5Gsajh3qUOT7CrVStUKMw==",
|
"integrity": "sha512-SDgh6V0CUd+7ruL1d3yG6lFzmJNGRNQuEuCYXLaorruNP9nwQfA7hpsp4clx4CbOo5Gsajh3qUOT7CrVStUKMw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"karma-spec-reporter": {
|
|
||||||
"version": "0.0.32",
|
|
||||||
"resolved": "https://registry.npmjs.org/karma-spec-reporter/-/karma-spec-reporter-0.0.32.tgz",
|
|
||||||
"integrity": "sha1-LpxyB+pyZ3EmAln4K+y1QyCeRAo=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"colors": "^1.1.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"karma-webpack": {
|
"karma-webpack": {
|
||||||
"version": "3.0.5",
|
"version": "3.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/karma-webpack/-/karma-webpack-3.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/karma-webpack/-/karma-webpack-3.0.5.tgz",
|
||||||
|
@ -8159,7 +8150,7 @@
|
||||||
},
|
},
|
||||||
"string_decoder": {
|
"string_decoder": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
|
"resolved": "http://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
|
||||||
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
|
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
|
|
|
@ -58,7 +58,6 @@
|
||||||
"karma-phantomjs-launcher": "^1.0.4",
|
"karma-phantomjs-launcher": "^1.0.4",
|
||||||
"karma-safari-launcher": "^1.0.0",
|
"karma-safari-launcher": "^1.0.0",
|
||||||
"karma-sinon-chai": "^2.0.2",
|
"karma-sinon-chai": "^2.0.2",
|
||||||
"karma-spec-reporter": "0.0.32",
|
|
||||||
"karma-webpack": "^3.0.0",
|
"karma-webpack": "^3.0.0",
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"mocha": "^5.2.0",
|
"mocha": "^5.2.0",
|
||||||
|
|
|
@ -44,7 +44,7 @@ module.exports = function(karma) {
|
||||||
'test/distro/' + VARIANT + '.js'
|
'test/distro/' + VARIANT + '.js'
|
||||||
],
|
],
|
||||||
|
|
||||||
reporters: [ 'spec' ],
|
reporters: [ 'progress' ],
|
||||||
|
|
||||||
customLaunchers: {
|
customLaunchers: {
|
||||||
ChromeHeadless_Linux: {
|
ChromeHeadless_Linux: {
|
||||||
|
|
|
@ -48,7 +48,7 @@ module.exports = function(karma) {
|
||||||
[ suite ]: [ 'webpack', 'env' ]
|
[ suite ]: [ 'webpack', 'env' ]
|
||||||
},
|
},
|
||||||
|
|
||||||
reporters: [ 'spec' ].concat(coverage ? 'coverage' : []),
|
reporters: [ 'progress' ].concat(coverage ? 'coverage' : []),
|
||||||
|
|
||||||
customLaunchers: {
|
customLaunchers: {
|
||||||
ChromeHeadless_Linux: {
|
ChromeHeadless_Linux: {
|
||||||
|
|
Loading…
Reference in New Issue