From c524b1f19af0d85b5dbfbaee5cf5d311166f28b6 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 1 Aug 2026 18:03:05 +0000 Subject: [PATCH] B105: format home search unit + mark plan implementado --- docs/plans/bottom-drawer-handle-scroll-peek.md | 2 +- tests/unit/campaignHomeSearch.unit.spec.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/plans/bottom-drawer-handle-scroll-peek.md b/docs/plans/bottom-drawer-handle-scroll-peek.md index 402d35b1..341e7eaf 100644 --- a/docs/plans/bottom-drawer-handle-scroll-peek.md +++ b/docs/plans/bottom-drawer-handle-scroll-peek.md @@ -1,6 +1,6 @@ # Bottom drawer — handle, gesto, scroll, peek discreto, labels 2 linhas -Status: em implementação +Status: implementado (PR) Atualizado em: 2026-08-01 Issue: #132 Priority: P1 diff --git a/tests/unit/campaignHomeSearch.unit.spec.tsx b/tests/unit/campaignHomeSearch.unit.spec.tsx index f9d205d1..18554c19 100644 --- a/tests/unit/campaignHomeSearch.unit.spec.tsx +++ b/tests/unit/campaignHomeSearch.unit.spec.tsx @@ -29,9 +29,9 @@ describe('CampaignHomeSearch', () => { ) expect(screen.getByLabelText('Buscar na campanha')).toBeTruthy() - expect( - (screen.getByLabelText('Buscar na campanha') as HTMLInputElement).placeholder, - ).toBe('Município, liderança, atividade…') + expect((screen.getByLabelText('Buscar na campanha') as HTMLInputElement).placeholder).toBe( + 'Município, liderança, atividade…', + ) expect(screen.getByRole('region', { name: 'Resultados da busca' })).toBeTruthy() expect(screen.getByText('Group stub')).toBeTruthy() })