Fix JS tests
[MAILPOET-1976]
This commit is contained in:
@ -26,6 +26,7 @@ describe('Styles', function () {
|
||||
var mock = sinon.mock({ trigger: function () {} }).expects('trigger').once().withExactArgs('autoSave');
|
||||
EditorApplication.getChannel = function () {
|
||||
return {
|
||||
on: function () {},
|
||||
trigger: mock,
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user