mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
angular conf change
coverage fix
This commit is contained in:
@@ -118,7 +118,8 @@ jobs:
|
|||||||
|
|
||||||
# Send coverage data to codecov
|
# Send coverage data to codecov
|
||||||
after_success:
|
after_success:
|
||||||
bash <(curl -s https://codecov.io/bash) -X gcov
|
bash <(curl -s https://codecov.io/bash) -X gcov
|
||||||
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
17
angular.json
17
angular.json
@@ -524,7 +524,9 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"main": "lib/core/test.ts",
|
"main": "lib/core/test.ts",
|
||||||
"tsConfig": "lib/core/tsconfig.json",
|
"tsConfig": "lib/core/tsconfig.json",
|
||||||
"karmaConfig": "lib/core/karma.conf.js"
|
"karmaConfig": "lib/core/karma.conf.js",
|
||||||
|
"codeCoverage": true,
|
||||||
|
"sourceMap": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
@@ -564,7 +566,9 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"main": "lib/content-services/test.ts",
|
"main": "lib/content-services/test.ts",
|
||||||
"tsConfig": "lib/content-services/tsconfig.json",
|
"tsConfig": "lib/content-services/tsconfig.json",
|
||||||
"karmaConfig": "lib/content-services/karma.conf.js"
|
"karmaConfig": "lib/content-services/karma.conf.js",
|
||||||
|
"codeCoverage": true,
|
||||||
|
"sourceMap": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
@@ -604,7 +608,9 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"main": "lib/process-services/test.ts",
|
"main": "lib/process-services/test.ts",
|
||||||
"tsConfig": "lib/process-services/tsconfig.json",
|
"tsConfig": "lib/process-services/tsconfig.json",
|
||||||
"karmaConfig": "lib/process-services/karma.conf.js"
|
"karmaConfig": "lib/process-services/karma.conf.js",
|
||||||
|
"codeCoverage": true,
|
||||||
|
"sourceMap": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
@@ -644,7 +650,9 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"main": "lib/insights/test.ts",
|
"main": "lib/insights/test.ts",
|
||||||
"tsConfig": "lib/insights/tsconfig.json",
|
"tsConfig": "lib/insights/tsconfig.json",
|
||||||
"karmaConfig": "lib/insights/karma.conf.js"
|
"karmaConfig": "lib/insights/karma.conf.js",
|
||||||
|
"codeCoverage": true,
|
||||||
|
"sourceMap": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
@@ -680,6 +688,7 @@
|
|||||||
"main": "lib/extensions/src/test.ts",
|
"main": "lib/extensions/src/test.ts",
|
||||||
"tsConfig": "lib/extensions/tsconfig.spec.json",
|
"tsConfig": "lib/extensions/tsconfig.spec.json",
|
||||||
"karmaConfig": "lib/extensions/karma.conf.js",
|
"karmaConfig": "lib/extensions/karma.conf.js",
|
||||||
|
"codeCoverage": true,
|
||||||
"sourceMap": true
|
"sourceMap": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@@ -52,6 +52,7 @@ module.exports = function (config) {
|
|||||||
client: {
|
client: {
|
||||||
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
||||||
},
|
},
|
||||||
|
|
||||||
coverageIstanbulReporter: {
|
coverageIstanbulReporter: {
|
||||||
dir: './lib/coverage/content-services/',
|
dir: './lib/coverage/content-services/',
|
||||||
reports: ['html', 'lcovonly'],
|
reports: ['html', 'lcovonly'],
|
||||||
|
Reference in New Issue
Block a user