Skip to content

Commit 5728c0b

Browse files
committed
refactoring
1 parent d95ba9c commit 5728c0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Customer/view/frontend/web/js/customer-data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ define([
364364
* @param {Object} jsonResponse
365365
* @param {Object} settings
366366
*/
367-
onAjaxComplete: function(jsonResponse, settings) {
367+
onAjaxComplete: function (jsonResponse, settings) {
368368
var sections,
369369
redirects;
370370

dev/tests/js/jasmine/tests/app/code/Magento/Customer/frontend/js/customer-data.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,8 @@ define([
518518
spyOn(sectionConfig, 'getAffectedSections').and.returnValue([]);
519519
spyOn(obj, 'reload');
520520
settings = {
521-
type: "POST",
522-
url: "http://test.local"
521+
type: 'POST',
522+
url: 'http://test.local'
523523
};
524524
obj.onAjaxComplete(jsonResponse, settings);
525525
expect(obj.reload).not.toHaveBeenCalled();

0 commit comments

Comments
 (0)