CRM-15986 fix - Fields attached to different entities in JS profile creator
[civicrm-core.git] / tests / karma.conf.js
index f65258730f32a75c8c1ce3af20590fa6ad29d9df..a4d9053933a56e7fb01683f6ca29b2033b2554e3 100644 (file)
@@ -12,6 +12,7 @@ module.exports = function(config) {
       'packages/jquery/plugins/select2/select2.min.js',
       'packages/jquery/plugins/jquery.blockUI.js',
       'packages/jquery/plugins/jquery.validate.js',
+      'packages/jquery/plugins/jquery.timeentry.js',
       'js/Common.js',
       'bower_components/angular/angular.js',
       'bower_components/angular-file-upload/angular-file-upload.js',
@@ -24,9 +25,20 @@ module.exports = function(config) {
       'tests/karma/modules.js',
       'js/crm.ajax.js',
       'js/angular-*.js',
+      'js/angular-crmMailing/*.js',
       'tests/karma/lib/*.js',
       'tests/karma/**/*.js',
+      'partials/**/*.html'
     ],
+    preprocessors : {
+      'partials/**/*.html' : ['ng-html2js']
+    },
+
+    ngHtml2JsPreprocessor: {
+      stripPrefix: 'partials/',
+      prependPrefix: '~/',
+      moduleName: 'crmResource'
+    },
     frameworks: ['jasmine'],
     logLevel: config.LOG_INFO,
     port: 9876,