[REF] mail: tests: remove unused getMouseenter
Part-of: odoo/odoo#134025
This commit is contained in:
committed by
Alexandre Kühn
parent
4250ae62b6
commit
e25e70b2f5
@@ -77,14 +77,6 @@ async function nextTick() {
|
||||
// Public: test lifecycle
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function getMouseenter({ afterNextRender }) {
|
||||
return async function mouseenter(selector) {
|
||||
await afterNextRender(() =>
|
||||
document.querySelector(selector).dispatchEvent(new window.MouseEvent("mouseenter"))
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
function getOpenDiscuss(webClient, { context = {}, params = {}, ...props } = {}) {
|
||||
return async function openDiscuss(pActiveId, { waitUntilMessagesLoaded = true } = {}) {
|
||||
const actionOpenDiscuss = {
|
||||
@@ -366,7 +358,6 @@ async function start(param0 = {}) {
|
||||
afterNextRender,
|
||||
env: webClient.env,
|
||||
insertText,
|
||||
mouseenter: getMouseenter({ afterNextRender }),
|
||||
openDiscuss: getOpenDiscuss(webClient, discuss),
|
||||
openView,
|
||||
openFormView: getOpenFormView(openView),
|
||||
|
||||
Reference in New Issue
Block a user