From ce0e0d359895c0ff3f438436b97d15c847375955 Mon Sep 17 00:00:00 2001 From: Mario Romano Date: Tue, 17 May 2016 10:45:02 +0100 Subject: [PATCH] #60 include html and css in tests --- ng2-components/ng2-alfresco-core/karma.conf.js | 2 ++ ng2-components/ng2-alfresco-documentlist/karma.conf.js | 2 ++ ng2-components/ng2-alfresco-login/karma.conf.js | 2 ++ ng2-components/ng2-alfresco-upload/karma.conf.js | 6 +++--- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ng2-components/ng2-alfresco-core/karma.conf.js b/ng2-components/ng2-alfresco-core/karma.conf.js index 6739fc0db1..97f90e9d4b 100644 --- a/ng2-components/ng2-alfresco-core/karma.conf.js +++ b/ng2-components/ng2-alfresco-core/karma.conf.js @@ -22,6 +22,8 @@ module.exports = function (config) { // paths loaded via module imports {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}, // paths to support debugging with source maps in dev tools {pattern: 'services/**/*.ts', included: false, watched: false}, diff --git a/ng2-components/ng2-alfresco-documentlist/karma.conf.js b/ng2-components/ng2-alfresco-documentlist/karma.conf.js index 6fd1d517bd..0459318f82 100644 --- a/ng2-components/ng2-alfresco-documentlist/karma.conf.js +++ b/ng2-components/ng2-alfresco-documentlist/karma.conf.js @@ -21,6 +21,8 @@ module.exports = function (config) { // paths loaded via module imports {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}, // paths to support debugging with source maps in dev tools {pattern: 'src/**/*.ts', included: false, watched: false}, diff --git a/ng2-components/ng2-alfresco-login/karma.conf.js b/ng2-components/ng2-alfresco-login/karma.conf.js index 7b9f3b6e46..d5ba842eb5 100644 --- a/ng2-components/ng2-alfresco-login/karma.conf.js +++ b/ng2-components/ng2-alfresco-login/karma.conf.js @@ -23,6 +23,8 @@ module.exports = function (config) { // paths loaded via module imports {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}, // paths to support debugging with source maps in dev tools {pattern: 'src/**/*.ts', included: false, watched: false}, diff --git a/ng2-components/ng2-alfresco-upload/karma.conf.js b/ng2-components/ng2-alfresco-upload/karma.conf.js index 7b9f3b6e46..77ad312fc2 100644 --- a/ng2-components/ng2-alfresco-upload/karma.conf.js +++ b/ng2-components/ng2-alfresco-upload/karma.conf.js @@ -23,6 +23,8 @@ module.exports = function (config) { // paths loaded via module imports {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}, // paths to support debugging with source maps in dev tools {pattern: 'src/**/*.ts', included: false, watched: false}, @@ -71,8 +73,6 @@ module.exports = function (config) { {type: 'json', subdir: '.', file: 'coverage-final.json'}, {type: 'html'} ] - }, - - singleRun: true + } }) };