[IMP] component: render does not return a promise anymore

This commit is contained in:
Géry Debongnie
2021-11-29 16:02:51 +01:00
committed by Aaron Bohy
parent 8a1ac13975
commit eceb3e6280
14 changed files with 103 additions and 208 deletions
@@ -69,7 +69,8 @@ describe("basics", () => {
expect(fixture.innerHTML).toBe("<span>CHILD 1</span>");
env.options.flag = false;
await parent.render();
parent.render();
await nextTick();
expect(fixture.innerHTML).toBe("<div>CHILD 2</div>");
});