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');
|
var mock = sinon.mock({ trigger: function () {} }).expects('trigger').once().withExactArgs('autoSave');
|
||||||
EditorApplication.getChannel = function () {
|
EditorApplication.getChannel = function () {
|
||||||
return {
|
return {
|
||||||
|
on: function () {},
|
||||||
trigger: mock,
|
trigger: mock,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user