From: colemanw Date: Tue, 24 Apr 2018 14:21:13 +0000 (-0400) Subject: Fix js lint issues X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=384f015c6714e887bd4c920acdd536033d4eef7d;p=civicrm-core.git Fix js lint issues --- diff --git a/tests/karma/unit/crmCaseTypeSpec.js b/tests/karma/unit/crmCaseTypeSpec.js index 4f67bc0f11..b647afc2fe 100644 --- a/tests/karma/unit/crmCaseTypeSpec.js +++ b/tests/karma/unit/crmCaseTypeSpec.js @@ -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'); }); });