[IMP] app: improve API, small refactoring

This commit is contained in:
Géry Debongnie
2021-12-20 17:32:32 +01:00
committed by Aaron Bohy
parent 772c275bd4
commit aad6b806ba
13 changed files with 112 additions and 87 deletions
+1 -1
View File
@@ -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",