Fix js lint issues
authorcolemanw <coleman@civicrm.org>
Tue, 24 Apr 2018 14:21:13 +0000 (10:21 -0400)
committerGitHub <noreply@github.com>
Tue, 24 Apr 2018 14:21:13 +0000 (10:21 -0400)
tests/karma/unit/crmCaseTypeSpec.js

index 4f67bc0f1143087d088125d9b401bc3d9252e5fe..b647afc2fe86cafbe2d89778dbff4f048bebb5c7 100644 (file)
@@ -1,3 +1,4 @@
+/* global $, _, CRM:true */
 'use strict';
 
 describe('crmCaseType', function() {
@@ -387,7 +388,7 @@ describe('crmCaseType', function() {
         });
 
         it('displays the error message', function() {
-          expect(CRM.alert).toHaveBeenCalledWith(error.error_message, ts('Error'), 'error');
+          expect(CRM.alert).toHaveBeenCalledWith(error.error_message, 'Error', 'error');
         });
       });