mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[IMP] app: improve API, small refactoring
This commit is contained in:
committed by
Aaron Bohy
parent
772c275bd4
commit
aad6b806ba
@@ -623,7 +623,7 @@ test("rendering component again in next microtick", async () => {
|
||||
}
|
||||
|
||||
const env = { config: { flag: false } };
|
||||
await new App(Parent).configure({ env }).mount(fixture);
|
||||
await mount(Parent, fixture, { env });
|
||||
expect(fixture.innerHTML).toBe("<div><button>Click</button></div>");
|
||||
expect([
|
||||
"Parent:setup",
|
||||
|
||||
Reference in New Issue
Block a user