Test paginationSchema with a custom limit

This commit is contained in:
Alex Gleason 2025-03-15 17:20:26 -05:00
parent 88ef8087a5
commit 09b0bf8ef4
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -21,3 +21,8 @@ Deno.test('paginationSchema', () => {
until: 4, until: 4,
}); });
}); });
Deno.test('paginationSchema with custom limit', () => {
const pagination = paginationSchema({ limit: 100 }).parse({});
assertEquals(pagination.limit, 100);
});