mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[IMP] qweb: throw error when t-component is not used with a 't' tag
This commit is contained in:
committed by
Aaron Bohy
parent
52fa81c510
commit
d569ea1c28
@@ -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>`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user