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

@ -6,7 +6,7 @@ define([
describe('Styles', function () {
it('loads and stores globally available styles', function() {
StylesComponent.setGlobalStyles({
testStyle: 'testValue',
testStyle: 'testValue'
});
var model = StylesComponent.getGlobalStyles();
expect(model.get('testStyle')).to.equal('testValue');
@ -22,7 +22,7 @@ define([
var mock = sinon.mock({ trigger: function(){}}).expects('trigger').once().withExactArgs('autoSave');
EditorApplication.getChannel = function() {
return {
trigger: mock,
trigger: mock
};
};
model.set('text.fontColor', '#123456');