[CLEANUP] run prettier on the codebase

This commit is contained in:
Géry Debongnie
2020-04-06 13:39:59 +02:00
committed by aab-odoo
parent 8d0d8538ad
commit ddf30a8a97
4 changed files with 20 additions and 9 deletions
+4 -1
View File
@@ -965,7 +965,10 @@ describe("t-call (template calling", () => {
</templates>
`);
const root = { val: "a", children: [{ val: "b", children: [{ val: "c" , children: [{val: "d"}] }] }] };
const root = {
val: "a",
children: [{ val: "b", children: [{ val: "c", children: [{ val: "d" }] }] }]
};
const expected =
"<div><div><p>a 2</p><div><p>b 3</p><div><p>c 4</p><div><p>d 5</p></div></div></div></div></div>";
expect(renderToString(qweb, "Parent", { root })).toBe(expected);