[FIX] component: fix lifecycle order

This commit is contained in:
Géry Debongnie
2021-11-14 12:06:16 +01:00
committed by Aaron Bohy
parent 1f6e84d141
commit af80cefa76
3 changed files with 4 additions and 35 deletions
+2 -2
View File
@@ -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",
]);
});