diff --git a/src/qweb/qweb.ts b/src/qweb/qweb.ts index f95d1c58..6e4d1a95 100644 --- a/src/qweb/qweb.ts +++ b/src/qweb/qweb.ts @@ -283,6 +283,7 @@ export class QWeb extends EventBus { fn: function(this: QWeb, context, extra) { const compiledFunction = this._compile(name, elem); template.fn = compiledFunction; + console.warn('CompiledFn', compiledFunction.toString()); return compiledFunction.call(this, context, extra); } }; diff --git a/tests/component/component.test.ts b/tests/component/component.test.ts index 696c13e1..79449588 100644 --- a/tests/component/component.test.ts +++ b/tests/component/component.test.ts @@ -2671,7 +2671,7 @@ describe("other directives with t-component", () => { expect(fixture.innerHTML).toBe("
B0B1
"); }); - test("t-set outside modified in t-foreach", async () => { + test.only("t-set outside modified in t-foreach", async () => { class SomeWidget extends Component { static template = xml`
@@ -2691,7 +2691,7 @@ describe("other directives with t-component", () => { expect(fixture.innerHTML).toBe("

Inloop: 0

Inloop: 1

EndLoop: 2

"); }); - test("t-set outside modified in t-foreach increment operator", async () => { + test.only("t-set outside modified in t-foreach increment operator", async () => { class SomeWidget extends Component { static template = xml`