mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] component: fix lifecycle order
This commit is contained in:
committed by
Aaron Bohy
parent
1f6e84d141
commit
af80cefa76
@@ -96,10 +96,10 @@ describe("hooks", () => {
|
||||
await app.mount(fixture);
|
||||
app.destroy();
|
||||
expect(steps).toEqual([
|
||||
"hook:mounted2",
|
||||
"hook:mounted1",
|
||||
"hook:willUnmount1",
|
||||
"hook:mounted2",
|
||||
"hook:willUnmount2",
|
||||
"hook:willUnmount1",
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user