change tsconfig,module name ,karma.conf,karma-tst-shim and #749

This commit is contained in:
Eugenio Romano
2016-10-06 11:56:07 +01:00
parent 0bf41768a7
commit 12914e0680
74 changed files with 412 additions and 528 deletions

View File

@@ -39,7 +39,9 @@ module.exports = function (config) {
'karma-test-shim.js',
// paths loaded via module imports
{pattern: 'dist/**/*.*', included: false, watched: true},
{pattern: 'dist/**/*.js', included: false, watched: true},
{pattern: 'dist/**/*.html', included: true, served: true, watched: true},
{pattern: 'dist/**/*.css', included: true, served: true, watched: true},
// ng2-components
{ pattern: 'node_modules/ng2-alfresco-core/dist/**/*.*', included: false, served: true, watched: false },
@@ -95,10 +97,11 @@ module.exports = function (config) {
// Source files that you wanna generate coverage for.
// Do not include tests or libraries (these files will be instrumented by Istanbul)
preprocessors: {
'dist/**/!(*spec).js': ['coverage']
'dist/**/!(*spec|index|*mock|*model).js': 'coverage'
},
coverageReporter: {
includeAllSources: true,
dir: 'coverage/',
subdir: 'report',
reporters: [