Skip to content

Commit

Permalink
[IMP] mail: fix contains typing to avoid lint error
Browse files Browse the repository at this point in the history
closes odoo#132632

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
  • Loading branch information
phenix-factory committed Aug 22, 2023
1 parent a8977a7 commit 479ba79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/mail/static/tests/helpers/test_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ QUnit.testStart(() => (hasUsedContainsPositively = false));
*
* @param {string} selector
* @param {number} [count=1]
* @returns {JQuery<HTMLElement>}
* @returns {Promise<JQuery<HTMLElement>>}
*/
export function contains(selector, count = 1, { target = document.body } = {}) {
if (count) {
Expand Down

0 comments on commit 479ba79

Please sign in to comment.