mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
small cleanup
This commit is contained in:
@@ -18,8 +18,6 @@ let wl: any[] = [];
|
||||
|
||||
interface Meta<T extends WEnv> {
|
||||
readonly id: number;
|
||||
// name: string;
|
||||
// template: string;
|
||||
vnode: VNode | null;
|
||||
isStarted: boolean;
|
||||
isMounted: boolean;
|
||||
|
||||
@@ -3,6 +3,7 @@ import { idGenerator } from "../src/ts/core/utils";
|
||||
import { WEnv } from "../src/ts/core/widget";
|
||||
import { Env } from "../src/ts/env";
|
||||
import { IAjax, RPCQuery } from "../src/ts/services/ajax";
|
||||
import { Registry } from "../src/ts/services/registry";
|
||||
import { NotificationManager } from "../src/ts/services/notifications";
|
||||
|
||||
import { IActionManager, ActionEvent } from "../src/ts/services/action_manager";
|
||||
@@ -28,9 +29,11 @@ export function makeTestEnv(): Env {
|
||||
const router = new MockRouter();
|
||||
const notifications = new NotificationManager();
|
||||
let { qweb, getID } = makeTestWEnv();
|
||||
const registry = new Registry();
|
||||
return {
|
||||
qweb,
|
||||
getID,
|
||||
registry,
|
||||
ajax,
|
||||
actionManager,
|
||||
notifications,
|
||||
|
||||
Reference in New Issue
Block a user