mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] components: remove .el
This commit is contained in:
committed by
Aaron Bohy
parent
7eaecac0b5
commit
bf9cceb56f
@@ -9,6 +9,7 @@ import {
|
||||
import { status } from "../../src/component/status";
|
||||
import { xml } from "../../src/tags";
|
||||
import {
|
||||
elem,
|
||||
makeDeferred,
|
||||
makeTestFixture,
|
||||
nextTick,
|
||||
@@ -123,7 +124,7 @@ describe("lifecycle hooks", () => {
|
||||
static template = xml`<div/>`;
|
||||
setup() {
|
||||
onMounted(() => {
|
||||
expect(document.body.contains(this.el!)).toBe(true);
|
||||
expect(document.body.contains(elem(this))).toBe(true);
|
||||
steps.push("child:mounted");
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user