[REF] mail: tests: remove nextTick

It was no longer used.

Part-of: odoo/odoo#134025
This commit is contained in:
Sébastien Theys
2023-09-04 21:53:37 +00:00
committed by Alexandre Kühn
parent 7a9581e1f3
commit 4458a01606
@@ -64,14 +64,6 @@ function nextAnimationFrame() {
});
}
/**
* Wait a task tick, so that anything in micro-task queue that can be processed
* is processed.
*/
async function nextTick() {
await new Promise(setTimeout);
}
//------------------------------------------------------------------------------
// Public: test lifecycle
//------------------------------------------------------------------------------
@@ -431,7 +423,6 @@ export {
dropFiles,
insertText,
nextAnimationFrame,
nextTick,
pasteFiles,
scroll,
start,