[FIX] qweb: properly handle t-raw in various situations

closes #325
closes #327
This commit is contained in:
Géry Debongnie
2019-10-12 09:07:25 +02:00
parent 41b0618c93
commit 3e8f60cefa
11 changed files with 153 additions and 69 deletions
+2 -2
View File
@@ -96,10 +96,10 @@ describe("Context", () => {
const parent = new Parent(env);
await parent.mount(fixture);
expect(fixture.innerHTML).toBe("<div><span>12</span></div>");
expect(steps).toEqual(['child']);
expect(steps).toEqual(["child"]);
testContext.state.a = 3;
await nextTick();
expect(steps).toEqual(['child', 'child']);
expect(steps).toEqual(["child", "child"]);
});
test("parent and children subscribed to same context", async () => {