summaryrefslogtreecommitdiff
path: root/addons/im_livechat/static/src
diff options
context:
space:
mode:
authorJulien Giannone <jgi@odoo.com>2020-09-21 18:58:55 +0000
committerSébastien Theys <seb@odoo.com>2020-09-21 20:29:32 +0000
commit8bb3b09a2abf27011e4920a9dc045fc27e1ec628 (patch)
treede8b38bf7f933f28ae2f9d9f593d885bf8b0c676 /addons/im_livechat/static/src
parentd40fd8e3e29d1954f60ebbd64a319ae564b7a639 (diff)
[IMP] mail: reintroduce channel mentions, canned responses, commands
task-2280308 closes odoo/odoo#58166 X-original-commit: b63d0d2ee5f3bff24a5e1e1cd962d59bebef082d Related: odoo/enterprise#13392 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/im_livechat/static/src')
-rw-r--r--addons/im_livechat/static/src/components/composer/composer_tests.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/addons/im_livechat/static/src/components/composer/composer_tests.js b/addons/im_livechat/static/src/components/composer/composer_tests.js
index cf488b14d97..b0559b98972 100644
--- a/addons/im_livechat/static/src/components/composer/composer_tests.js
+++ b/addons/im_livechat/static/src/components/composer/composer_tests.js
@@ -29,7 +29,7 @@ QUnit.module('composer_tests.js', {
};
this.start = async params => {
- let { env, widget } = await start(Object.assign({}, params, {
+ const { env, widget } = await start(Object.assign({}, params, {
data: this.data,
}));
this.env = env;
@@ -38,13 +38,6 @@ QUnit.module('composer_tests.js', {
},
afterEach() {
afterEach(this);
- if (this.component) {
- this.component.destroy();
- }
- if (this.widget) {
- this.widget.destroy();
- }
- this.env = undefined;
},
});