bring in line with #24176
[civicrm-core.git] / karma.conf.js
index 787b6752c258447eb0c4f6b2cab5a2e12c5d4543..2ef455d55f52f7b332178d4121ca9ddb2b74be52 100644 (file)
@@ -1,7 +1,8 @@
 var cv = require('civicrm-cv')({mode: 'sync'});
 var _CV = cv('vars:show');
 var cmd =
-  'CRM_Core_BAO_ConfigSetting::enableComponent("CiviCase");' +
+  'define("CIVICRM_KARMA", 1);' +
+  'CRM_Core_BAO_ConfigSetting::enableAllComponents();' +
   'global $civicrm_root;' +
   '$f = CRM_Utils_File::addTrailingSlash($civicrm_root)."tmp/karma.cv.js";' +
   'mkdir(dirname($f), 0777, TRUE);' +
@@ -41,7 +42,6 @@ module.exports = function(config) {
       'bower_components/angular-route/angular-route.js',
       'bower_components/angular-mocks/angular-mocks.js',
       'bower_components/angular-ui-sortable/sortable.js',
-      'bower_components/angular-ui-utils/ui-utils.js',
       'bower_components/angular-unsavedChanges/dist/unsavedChanges.js',
       'js/crm.ajax.js',
       'ang/*.js',