small cleanup

This commit is contained in:
Géry Debongnie
2019-02-02 11:36:45 +01:00
parent bfe83c5b70
commit 4d30180862
2 changed files with 3 additions and 2 deletions
-2
View File
@@ -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
View File
@@ -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,