refactor: remove draft agent routes and consolidate terminal output into session model
This commit is contained in:
@@ -50,8 +50,8 @@ describe("buildNotificationRoute", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("falls back to host-scoped draft route when only serverId is present", () => {
|
||||
expect(buildNotificationRoute({ serverId: "srv-only" })).toBe("/h/srv-only/new");
|
||||
it("falls back to host root when only serverId is present", () => {
|
||||
expect(buildNotificationRoute({ serverId: "srv-only" })).toBe("/h/srv-only");
|
||||
});
|
||||
|
||||
it("falls back to root when no server id is present", () => {
|
||||
|
||||
Reference in New Issue
Block a user