Add .off method to stubChannel so removing listeners work

[MAILPOET-1974]
This commit is contained in:
Ján Mikláš
2019-05-02 13:03:03 +02:00
committed by M. Shull
parent 787a3870c2
commit c86a2446fc

View File

@ -61,6 +61,8 @@ global.stubChannel = function (EditorApplication, returnObject) {
}, },
on: function () { on: function () {
}, },
off: function () {
},
})); }));
}; };
global.stubConfig = function (EditorApplication, opts) { global.stubConfig = function (EditorApplication, opts) {