feat(shell): ConsoleShell 传递 compact 给 buildThemeConfig

This commit is contained in:
2026-06-06 22:48:38 +08:00
parent e0466f9b99
commit 09845e0515
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ import { ConsoleShell } from "../../../src/web/shared/components/ConsoleShell/Co
import { installFetchMock, jsonResponse, mockMetaResponse, renderWithProviders } from "../test-utils";
function mockSettingsResponse(): Response {
return jsonResponse({ theme: "system" });
return jsonResponse({ compact: false, theme: "system" });
}
describe("ConsoleShell", () => {