Merge pull request #10443 from twomice/CRM-20660_total_vs_unique_opens
[civicrm-core.git] / karma.conf.js
index 50c56bf3e94e34127f49510239d03972f15ebed3..8a7ba6eaa212504007b6ed219a41ca23db66d303 100644 (file)
@@ -5,6 +5,7 @@ module.exports = function(config) {
     exclude: [
     ],
     files: [
+      'bower_components/phantomjs-polyfill/bind-polyfill.js',
       'bower_components/jquery/dist/jquery.min.js',
       'bower_components/jquery-ui/jquery-ui.min.js',
       'bower_components/lodash-compat/lodash.min.js',
@@ -23,18 +24,18 @@ module.exports = function(config) {
       'bower_components/angular-unsavedChanges/dist/unsavedChanges.js',
       'tests/karma/modules.js',
       'js/crm.ajax.js',
-      'js/angular-*.js',
-      'js/angular-crmMailing/*.js',
+      'ang/*.js',
+      'ang/**/*.js',
       'tests/karma/lib/*.js',
       'tests/karma/**/*.js',
-      'partials/**/*.html'
+      'ang/**/*.html'
     ],
     preprocessors : {
-      'partials/**/*.html' : ['ng-html2js']
+      'ang/**/*.html' : ['ng-html2js']
     },
 
     ngHtml2JsPreprocessor: {
-      stripPrefix: 'partials/',
+      stripPrefix: 'ang/',
       prependPrefix: '~/',
       moduleName: 'crmResource'
     },