Fix unit tests
authorDebarshi Bhaumik <deb1990@gmail.com>
Wed, 16 May 2018 06:51:44 +0000 (12:21 +0530)
committerDebarshi Bhaumik <deb1990@gmail.com>
Wed, 16 May 2018 06:51:44 +0000 (12:21 +0530)
tests/karma/unit/crmCaseTypeSpec.js

index 1193b4573d55850e9d2f659b92c8b91960d4e736..9279d2017d762ed753cc6b952da69f22c78bc586 100644 (file)
@@ -299,7 +299,7 @@ describe('crmCaseType', function() {
     beforeEach(function() {
       scope = $rootScope.$new();
       element = '<div crm-editable-tab-title title="Click to edit">' +
-        '<span ng-keydown="$event.stopImmediatePropagation()">{{ activitySet.label }}</span>' +
+        '<span>{{ activitySet.label }}</span>' +
         '</div>';
 
       scope.activitySet = { label: 'Title'};