From 77d16c344b1b50a00514cd7be20839c98a728ce1 Mon Sep 17 00:00:00 2001 From: Developers Digest <124798203+developersdigest@users.noreply.github.com> Date: Fri, 18 Sep 2026 11:34:31 -0400 Subject: [PATCH] style: format terms command tests --- src/__tests__/commands/terms.test.ts | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/__tests__/commands/terms.test.ts b/src/__tests__/commands/terms.test.ts index a833bcd294..fa3c62ff28 100644 --- a/src/__tests__/commands/terms.test.ts +++ b/src/__tests__/commands/terms.test.ts @@ -29,17 +29,15 @@ it('presents the selected agreement and requests human approval without acceptin }); it('preserves refusal details and gives actionable guidance without retrying', async () => { - const fetch = vi - .fn() - .mockResolvedValue( - Response.json( - { - code: 'forbidden', - error: 'This endpoint is not enabled for this team.', - }, - { status: 403 } - ) - ); + const fetch = vi.fn().mockResolvedValue( + Response.json( + { + code: 'forbidden', + error: 'This endpoint is not enabled for this team.', + }, + { status: 403 } + ) + ); vi.stubGlobal('fetch', fetch); const result = await requestTerms('particle', {}); expect(result).toMatchObject({