This commit is contained in:
Lucas Perais (lpe)
2020-01-03 13:01:17 +01:00
parent 52f027fe46
commit 401b2a5b48
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -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);
}
};
+2 -2
View File
@@ -2671,7 +2671,7 @@ describe("other directives with t-component", () => {
expect(fixture.innerHTML).toBe("<div><span>B0</span><span>B1</span></div>");
});
test("t-set outside modified in t-foreach", async () => {
test.only("t-set outside modified in t-foreach", async () => {
class SomeWidget extends Component<any, any> {
static template = xml`
<div>
@@ -2691,7 +2691,7 @@ describe("other directives with t-component", () => {
expect(fixture.innerHTML).toBe("<div><p>Inloop: 0</p><p>Inloop: 1</p><p>EndLoop: 2<p></div>");
});
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<any, any> {
static template = xml`
<div>