From 2653647f97936ad1be2e461e77db7759f941b915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Tue, 7 Jul 2026 18:45:48 +0200 Subject: [PATCH] style(documents): prettier-format the list route test P2-1. Formatting-only follow-up on the content-index mock additions. --- src/app/api/documents/inbound/__tests__/route.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/api/documents/inbound/__tests__/route.test.ts b/src/app/api/documents/inbound/__tests__/route.test.ts index eff040ae7..af2620cb2 100644 --- a/src/app/api/documents/inbound/__tests__/route.test.ts +++ b/src/app/api/documents/inbound/__tests__/route.test.ts @@ -357,7 +357,9 @@ describe("GET /api/documents/inbound (list)", () => { expect(where.OR).toEqual([ { title: { contains: "panel", mode: "insensitive" } }, { filename: { contains: "panel", mode: "insensitive" } }, - { contentIndex: { is: { searchTokens: { hasSome: expect.any(Array) } } } }, + { + contentIndex: { is: { searchTokens: { hasSome: expect.any(Array) } } }, + }, ]); // limit+1 fetched for the has-more probe. expect(arg.take).toBe(11);