diff --git a/apps/nextjs/src/components/board/items/item-select-modal.spec.tsx b/apps/nextjs/src/components/board/items/item-select-modal.spec.tsx index 1449ebd6c..ee589bf57 100644 --- a/apps/nextjs/src/components/board/items/item-select-modal.spec.tsx +++ b/apps/nextjs/src/components/board/items/item-select-modal.spec.tsx @@ -16,6 +16,7 @@ vi.mock("@homarr/translation/client", () => ({ "item.create.connectionStatus.ready": "Ready", "item.create.connectionStatus.needsSetup": "Needs setup", "item.create.connectionStatus.noConnectionRequired": "No connection required", + "item.create.standalone": "Standalone", "widget.mediaServer.name": "Media Server", "widget.mediaServer.description": "Stream your media", "widget.clock.name": "Clock", diff --git a/apps/nextjs/src/components/board/selection/board-selection.spec.tsx b/apps/nextjs/src/components/board/selection/board-selection.spec.tsx index 846b87943..de73a3424 100644 --- a/apps/nextjs/src/components/board/selection/board-selection.spec.tsx +++ b/apps/nextjs/src/components/board/selection/board-selection.spec.tsx @@ -16,6 +16,7 @@ import { BoardSelectionProvider, useBoardSelection } from "./board-selection-con vi.mock("@homarr/translation/client", () => ({ useI18n: () => (key: string) => key, + useScopedI18n: () => (key: string) => key, })); vi.mock("../audio/board-sounds", () => ({ @@ -36,8 +37,8 @@ vi.mock("@homarr/boards/edit-mode", () => ({ })); vi.mock("@homarr/boards/updater", () => ({ - useUpdateBoard: () => ({ - updateBoard: (updater: (prev: Board) => Board) => { + usePersistBoard: () => ({ + updateAndPersistBoard: (updater: (prev: Board) => Board) => { mockUpdateBoard(updater); }, }),