[DOC] add hooks explanation, and testing/debug page

closes #372
closes #419
This commit is contained in:
Géry Debongnie
2019-11-22 09:40:51 +01:00
committed by aab-odoo
parent ff76747a05
commit 48744cfa87
7 changed files with 232 additions and 11 deletions
+3 -2
View File
@@ -1430,7 +1430,9 @@ describe("composition", () => {
error = e;
}
expect(error).toBeDefined();
expect(error.message).toBe(`Directive 't-component' can only be used on <t> nodes (used on a <div>)`);
expect(error.message).toBe(
`Directive 't-component' can only be used on <t> nodes (used on a <div>)`
);
});
test("sub components, loops, and shouldUpdate", async () => {
@@ -1757,7 +1759,6 @@ describe("class and style attributes with t-component", () => {
expect(error.message).toBe("Cannot read property 'crash' of undefined");
expect(fixture.innerHTML).toBe("");
});
});
describe("other directives with t-component", () => {