Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { loader } from "./chat.archived";
|
||||
|
||||
describe("archived chat route", () => {
|
||||
it("keeps the canonical route reachable and opens the archived index view", () => {
|
||||
const response = loader({
|
||||
request: new Request("https://app.test/demo/chat/archived?query=montage"),
|
||||
params: { tenant: "demo" },
|
||||
context: {},
|
||||
unstable_pattern: "/:tenant/chat/archived",
|
||||
});
|
||||
|
||||
expect(response.status).toBe(302);
|
||||
expect(response.headers.get("Location")).toBe("/demo/chat?archived=true&query=montage");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user