From 91000641f1525cb655efca7adcaed62cb6612c7b Mon Sep 17 00:00:00 2001 From: Lucas Perais Date: Mon, 20 Mar 2023 09:22:33 +0000 Subject: [PATCH] [FIX] mail: tests helpers: export mail setup registries This commit exports the function responsible for setting up the mail registries in tests. This is usefull if one doesn't want to instanciate a full webClient in tests and still have mail features. Part-of: odoo/odoo#115799 --- addons/mail/static/tests/helpers/webclient_setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/tests/helpers/webclient_setup.js b/addons/mail/static/tests/helpers/webclient_setup.js index 19db194b611..129ebc1112a 100644 --- a/addons/mail/static/tests/helpers/webclient_setup.js +++ b/addons/mail/static/tests/helpers/webclient_setup.js @@ -156,7 +156,7 @@ export const setupManager = { * @returns {LegacyRegistry} The registry containing all the legacy services that will be passed * to the webClient as a legacy parameter. */ -async function setupMessagingServiceRegistries({ +export async function setupMessagingServiceRegistries({ loadingBaseDelayDuration = 0, messagingBus, services,