mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
up
This commit is contained in:
@@ -1,27 +1,28 @@
|
||||
import { App, Component, mount, onWillDestroy } from "../../src";
|
||||
import { OwlError } from "../../src/common/owl_error";
|
||||
import {
|
||||
onError,
|
||||
onMounted,
|
||||
onPatched,
|
||||
onWillPatch,
|
||||
onWillStart,
|
||||
onWillRender,
|
||||
onRendered,
|
||||
onWillPatch,
|
||||
onWillRender,
|
||||
onWillStart,
|
||||
onWillUnmount,
|
||||
useState,
|
||||
xml,
|
||||
} from "../../src/index";
|
||||
import { getCurrent } from "../../src/runtime/component_node";
|
||||
import {
|
||||
logStep,
|
||||
makeTestFixture,
|
||||
nextTick,
|
||||
nextMicroTick,
|
||||
snapshotEverything,
|
||||
useLogLifecycle,
|
||||
nextAppError,
|
||||
nextMicroTick,
|
||||
nextTick,
|
||||
snapshotEverything,
|
||||
steps,
|
||||
useLogLifecycle,
|
||||
} from "../helpers";
|
||||
import { OwlError } from "../../src/common/owl_error";
|
||||
|
||||
let fixture: HTMLElement;
|
||||
|
||||
@@ -647,7 +648,7 @@ describe("can catch errors", () => {
|
||||
|
||||
setup() {
|
||||
onWillStart(() => {
|
||||
this.state = useState({ value: 2 });
|
||||
getCurrent();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user