Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+2
-2
@@ -25,7 +25,7 @@ function callLoader() {
|
||||
describe("admin notifications route", () => {
|
||||
beforeEach(() => {
|
||||
vi.clearAllMocks();
|
||||
vi.stubEnv("APP_NAME", "Toolctrl");
|
||||
vi.stubEnv("APP_NAME", "HiveGrid");
|
||||
vi.stubEnv("NOTIFICATIONS_NOVU_API_KEY", "");
|
||||
vi.mocked(verifyUserHasPermission).mockResolvedValue(undefined as never);
|
||||
});
|
||||
@@ -35,7 +35,7 @@ describe("admin notifications route", () => {
|
||||
});
|
||||
|
||||
it("does not require the optional external notification provider key", async () => {
|
||||
await expect(callLoader()).resolves.toEqual({ title: "notifications.title | Toolctrl" });
|
||||
await expect(callLoader()).resolves.toEqual({ title: "notifications.title | HiveGrid" });
|
||||
expect(verifyUserHasPermission).toHaveBeenCalledWith(expect.any(Request), "admin.notifications.view");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user