mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Test paginationSchema with a custom limit
This commit is contained in:
parent
88ef8087a5
commit
09b0bf8ef4
1 changed files with 5 additions and 0 deletions
|
|
@ -21,3 +21,8 @@ Deno.test('paginationSchema', () => {
|
|||
until: 4,
|
||||
});
|
||||
});
|
||||
|
||||
Deno.test('paginationSchema with custom limit', () => {
|
||||
const pagination = paginationSchema({ limit: 100 }).parse({});
|
||||
assertEquals(pagination.limit, 100);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue