mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] test: missing await
This commit is contained in:
committed by
Géry Debongnie
parent
f5d019bb69
commit
718e5264ae
@@ -1384,6 +1384,7 @@ describe("async rendering", () => {
|
||||
expect(fixture.innerHTML).toBe("<span>3</span>");
|
||||
|
||||
parent.state.value = 4; // update value after a tick
|
||||
await nextTick();
|
||||
expect(fixture.innerHTML).toBe("<span>4</span>");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user