mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
move Env definition to Widget
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { QWeb } from "../src/ts/core/qweb_vdom";
|
||||
import { idGenerator } from "../src/ts/core/utils";
|
||||
import { WEnv } from "../src/ts/core/component";
|
||||
import { Env } from "../src/ts/env";
|
||||
import { Env } from "../src/ts/widgets/widget";
|
||||
import { IAjax, RPCQuery } from "../src/ts/core/ajax";
|
||||
import { Registry } from "../src/ts/core/registry";
|
||||
import { NotificationManager } from "../src/ts/core/notifications";
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { Env } from "../../src/ts/env";
|
||||
import { HomeMenu, Props } from "../../src/ts/widgets/home_menu";
|
||||
import { makeTestEnv, makeTestFixture, loadTemplates } from "../helpers";
|
||||
|
||||
@@ -7,7 +6,7 @@ import { makeTestEnv, makeTestFixture, loadTemplates } from "../helpers";
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
let fixture: HTMLElement;
|
||||
let env: Env;
|
||||
let env: ReturnType<typeof makeTestEnv>;
|
||||
let props: Props;
|
||||
let templates: string;
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { Env } from "../../src/ts/env";
|
||||
import { INotification } from "../../src/ts/core/notifications";
|
||||
import { Notification } from "../../src/ts/widgets/notification";
|
||||
import { makeTestEnv, makeTestFixture, loadTemplates } from "../helpers";
|
||||
@@ -8,7 +7,7 @@ import { makeTestEnv, makeTestFixture, loadTemplates } from "../helpers";
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
let fixture: HTMLElement;
|
||||
let env: Env;
|
||||
let env: ReturnType<typeof makeTestEnv>;
|
||||
let templates: string;
|
||||
|
||||
beforeAll(async () => {
|
||||
|
||||
Reference in New Issue
Block a user