mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-10-24 03:09:26 +00:00
🎨 style: collapse expect.objectContaining onto one line to satisfy prettier
This commit is contained in:
parent
db0d5fda49
commit
2612df9097
1 changed files with 1 additions and 3 deletions
|
|
@ -543,9 +543,7 @@ describe('createAdminAuditLogHandlers', () => {
|
|||
await handlers.exportAuditLogCsv(ctx.req, ctx.res);
|
||||
|
||||
const optionsArg = (deps.streamAuditLogEntries as jest.Mock).mock.calls[0][3];
|
||||
expect(optionsArg).toEqual(
|
||||
expect.objectContaining({ maxRows: expect.any(Number) }),
|
||||
);
|
||||
expect(optionsArg).toEqual(expect.objectContaining({ maxRows: expect.any(Number) }));
|
||||
expect(optionsArg.maxRows).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue