We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64bf208 commit 8595da6Copy full SHA for 8595da6
dev/tests/js/jasmine/tests/lib/mage/decorate.test.js
@@ -192,10 +192,9 @@ define([
192
it('Check error message', function () {
193
var $list = $('#' + listId);
194
195
- spyOn(jQuery, 'error');
+ spyOn($, 'error');
196
$list.decorate('customMethod');
197
-
198
- expect(jQuery.error).toHaveBeenCalledWith('Method customMethod does not exist on jQuery.decorate');
+ expect($.error).toHaveBeenCalledWith('Method customMethod does not exist on jQuery.decorate');
199
});
200
201
0 commit comments