mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
work on action manager
This commit is contained in:
@@ -101,7 +101,7 @@ describe("state transitions", () => {
|
||||
expect(store.services.router.getQuery()).toEqual({ home: true });
|
||||
|
||||
await promise;
|
||||
store.lastAction!.activate();
|
||||
store.activateController(store.lastController!);
|
||||
expect(store.state.inHome).toBe(false);
|
||||
expect(store.services.router.getQuery()).toEqual({
|
||||
action_id: "131",
|
||||
@@ -128,7 +128,7 @@ describe("state transitions", () => {
|
||||
const promise = store.activateMenuItem(96);
|
||||
expect(document.title).toBe("Odoo");
|
||||
await promise;
|
||||
store.lastAction!.activate();
|
||||
store.activateController(store.lastController!);
|
||||
|
||||
expect(document.title).toBe("Discuss - Odoo");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user