[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:
@@ -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': {
|
||||
|
||||
Reference in New Issue
Block a user