From 479ba79182cdfabf9c35731f78497e9b810b1c0a Mon Sep 17 00:00:00 2001 From: "Didier (did)" Date: Tue, 22 Aug 2023 09:07:19 +0000 Subject: [PATCH] [IMP] mail: fix contains typing to avoid lint error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes odoo/odoo#132632 Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/tests/helpers/test_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/tests/helpers/test_utils.js b/addons/mail/static/tests/helpers/test_utils.js index 8d0b413d3ecba..2d96342e368ac 100644 --- a/addons/mail/static/tests/helpers/test_utils.js +++ b/addons/mail/static/tests/helpers/test_utils.js @@ -680,7 +680,7 @@ QUnit.testStart(() => (hasUsedContainsPositively = false)); * * @param {string} selector * @param {number} [count=1] - * @returns {JQuery} + * @returns {Promise>} */ export function contains(selector, count = 1, { target = document.body } = {}) { if (count) {