Fix JS tests

[MAILPOET-1976]
This commit is contained in:
Ján Mikláš
2019-06-18 14:32:20 +02:00
committed by M. Shull
parent 66800ae994
commit 4140d31e23

View File

@ -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,
}; };
}; };