Add .off method to stubChannel so removing listeners work
[MAILPOET-1974]
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user