Fix tests comma-dangle eslint rule [MAILPOET-1028]

This commit is contained in:
stoletniy
2017-07-27 18:14:30 +03:00
committed by pavel-mailpoet
parent 66c6f52646
commit f0c59ff635
21 changed files with 267 additions and 268 deletions

View File

@ -57,7 +57,7 @@ global.stubChannel = function (EditorApplication, returnObject) {
trigger: function () {
},
on: function () {
},
}
}));
};
global.stubConfig = function (EditorApplication, config) {
@ -83,7 +83,7 @@ global.stubImage = function(defaultWidth, defaultHeight) {
"set": function(src) {
this.address = src;
this.onload();
},
}
});
};
}
@ -225,5 +225,5 @@ global.templates = {
textBlock: Handlebars.compile(jQuery('#newsletter_editor_template_text_block').html()),
textInsertion: Handlebars.compile(jQuery('#newsletter_editor_template_text_widget').html()),
textBlockSettings: Handlebars.compile(jQuery('#newsletter_editor_template_text_settings').html()),
textBlockSettings: Handlebars.compile(jQuery('#newsletter_editor_template_text_settings').html())
};