mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
rework registry
This commit is contained in:
@@ -3,7 +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/core/ajax";
|
||||
import { Registry } from "../src/ts/services/registry";
|
||||
import { Registry } from "../src/ts/core/registry";
|
||||
import { NotificationManager } from "../src/ts/core/notifications";
|
||||
|
||||
import { IActionManager, ActionEvent } from "../src/ts/services/action_manager";
|
||||
@@ -30,11 +30,10 @@ export function makeTestEnv(): Env {
|
||||
const router = new MockRouter();
|
||||
const notifications = new NotificationManager();
|
||||
let { qweb, getID } = makeTestWEnv();
|
||||
const registry = new Registry();
|
||||
return {
|
||||
qweb,
|
||||
getID,
|
||||
registry,
|
||||
actionRegistry: new Registry(),
|
||||
ajax,
|
||||
actionManager,
|
||||
notifications,
|
||||
|
||||
Reference in New Issue
Block a user