[IMP] mail, *: make mail module's beforeEach functions async

*: calendar, hr, hr_holidays, im_livechat, note, sms, snailmail,
website_livechat, website_slides.

This commit prepares the ground for the model definitions PR.
In order to reduce the noise, all mail module's beforeEach
functions will be made async.

task-2767820

closes odoo/odoo#84845

Related: odoo/enterprise#24489
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
tsm-odoo
2022-02-18 13:26:49 +00:00
parent 814140b227
commit 0862f2fab0
82 changed files with 166 additions and 166 deletions
@@ -7,8 +7,8 @@ import testUtils from 'web.test_utils';
QUnit.module('note', {}, function () {
QUnit.module("ActivityMenu", {
beforeEach() {
beforeEach(this);
async beforeEach() {
await beforeEach(this);
Object.assign(this.data, {
'mail.activity.menu': {