fix: reduce clarification context font size (#2659)

This commit is contained in:
Carlos Florêncio
2026-08-14 14:49:07 +01:00
committed by GitHub
parent 290fd2dc4e
commit cb0c10aa9f
3 changed files with 5 additions and 3 deletions
@@ -58,10 +58,11 @@ function workspaceSettings(
async function expectRandomUuidPresetId() {
const uuid = "123e4567-e89b-42d3-a456-426614174000";
vi.spyOn(globalThis.crypto, "randomUUID").mockReturnValue(uuid);
vi.mocked(fetchGitHubWorkspaceSettings).mockResolvedValue(workspaceSettings());
const existing = { ...valid, id: "p_existing" };
vi.mocked(fetchGitHubWorkspaceSettings).mockResolvedValue(workspaceSettings([existing]));
vi.mocked(updateGitHubWorkspaceSettings).mockResolvedValue(workspaceSettings());
const { result } = renderHook(() => useSavedPresets(WORKSPACE_ID));
await waitFor(() => expect(result.current.presets).toEqual([]));
await waitFor(() => expect(result.current.presets).toEqual([existing]));
let created: SavedPreset | null = null;
await act(async () => {