[FIX] run prettier on codebase

This commit is contained in:
Géry Debongnie
2021-10-19 16:45:04 +02:00
parent 6e185f987b
commit 98bb2842d8
+1 -4
View File
@@ -5,10 +5,7 @@ describe("memory", () => {
test("t-foreach does not leak stuff in global scope", () => {
let qweb = new QWeb();
const initialNumberOfGlobals = Object.keys(window).length;
qweb.addTemplate(
"test",
`<p><t t-foreach="[3, 2, 1]" t-as="item"><t t-esc="item"/></t></p>`
);
qweb.addTemplate("test", `<p><t t-foreach="[3, 2, 1]" t-as="item"><t t-esc="item"/></t></p>`);
const result = renderToString(qweb, "test");
const expected = `<p>321</p>`;
expect(result).toBe(expected);