mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
style(documents): prettier-format the list route test
P2-1. Formatting-only follow-up on the content-index mock additions.
This commit is contained in:
1 parent
ce2f4808e2
commit
2653647f97
1 file changed
+3
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user