From b61f1ec36abf24c852e9fdcf42bce98827c6a165 Mon Sep 17 00:00:00 2001 From: Francisco Solla Date: Fri, 7 Aug 2026 01:27:43 -0300 Subject: [PATCH] style(tests): prettier-format worktree unit spec --- tests/unit/worktree.unit.spec.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/unit/worktree.unit.spec.ts b/tests/unit/worktree.unit.spec.ts index f8b1942a..0e375897 100644 --- a/tests/unit/worktree.unit.spec.ts +++ b/tests/unit/worktree.unit.spec.ts @@ -41,9 +41,9 @@ describe('issueCodeAndSubject', () => { describe('branchNameForIssue', () => { it('builds - with the repo slugify', () => { - expect( - branchNameForIssue(issue({ title: 'C15 — FullCalendar em /campanha/agenda' })), - ).toBe('C15-fullcalendar-em-campanha-agenda') + expect(branchNameForIssue(issue({ title: 'C15 — FullCalendar em /campanha/agenda' }))).toBe( + 'C15-fullcalendar-em-campanha-agenda', + ) }) it('strips accents from the pt-BR title', () => { @@ -62,6 +62,8 @@ describe('branchNameForIssue', () => { }) it('throws when the issue has no code — never invents', () => { - expect(() => branchNameForIssue(issue({ meta: {}, title: 'Sem código' }))).toThrow(/frontmatter/) + expect(() => branchNameForIssue(issue({ meta: {}, title: 'Sem código' }))).toThrow( + /frontmatter/, + ) }) })