diff --git a/tests/component.test.ts b/tests/component.test.ts index c7540c46..a53a1e2e 100644 --- a/tests/component.test.ts +++ b/tests/component.test.ts @@ -1554,7 +1554,7 @@ describe("random stuff/miscellaneous", () => { `; widgets = { D, E, F }; name = "C"; - state = {flag: true}; + state = { flag: true }; constructor(parent, props) { super(parent, props); @@ -1618,7 +1618,7 @@ describe("random stuff/miscellaneous", () => { "D:mounted", "E:mounted", "C:mounted", - "A:mounted", + "A:mounted" ]); // update @@ -1637,7 +1637,7 @@ describe("random stuff/miscellaneous", () => { "C:_patch", "E:willUnmount", "E:destroy", - "E:destroy", // maybe should look into this + "E:destroy", // maybe should look into this "F:_patch(from _mount)", "F:mounted", "D:_patch", diff --git a/tests/qweb.test.ts b/tests/qweb.test.ts index cd4e1205..68b1c849 100644 --- a/tests/qweb.test.ts +++ b/tests/qweb.test.ts @@ -748,7 +748,6 @@ describe("foreach", () => { expect(console.warn).toHaveBeenCalledTimes(1); console.warn = consoleWarn; }); - }); describe("misc", () => { @@ -982,14 +981,17 @@ describe("t-ref", () => { }); test("refs in a loop", () => { - qweb.addTemplate("test", ` + qweb.addTemplate( + "test", + `