feat(housekeeping): cut over administration to ase
This commit is contained in:
@@ -37,7 +37,9 @@ describe("sendHotelAlert", () => {
|
||||
fakeForm({ message: "Hello!" }) as unknown as FormData,
|
||||
);
|
||||
expect(rcon.send).toHaveBeenCalledWith("hotelalert", { message: "Hello!" });
|
||||
expect(revalidatePath).toHaveBeenCalledWith("/admin/alerts");
|
||||
expect(revalidatePath).toHaveBeenCalledWith(
|
||||
"/ase/system/operations/alerts",
|
||||
);
|
||||
});
|
||||
|
||||
it("returns early when message is empty", async () => {
|
||||
|
||||
Reference in New Issue
Block a user