[IMP] qweb: throw error when t-component is not used with a 't' tag

This commit is contained in:
Mathieu Duckerts-Antoine
2021-10-19 16:01:36 +02:00
committed by Aaron Bohy
parent 52fa81c510
commit d569ea1c28
3 changed files with 5 additions and 17 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ describe("t-component", () => {
expect(fixture.innerHTML).toBe("<div><div>1<button>Inc</button></div></div>");
});
test.skip("t-component not on a <t> node", async () => {
test("t-component not on a <t> node", async () => {
class Child extends Component {
static template = xml`<span>1</span>`;
}