mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Include hasPreviousPage in test
This commit is contained in:
parent
de93e1282c
commit
f2dc9488d8
1 changed files with 3 additions and 0 deletions
|
|
@ -194,12 +194,14 @@ test('Can paginate', async (t) => {
|
|||
{
|
||||
number: 1,
|
||||
hasNextPage: true,
|
||||
hasPreviousPage: false,
|
||||
items: [1, 2],
|
||||
json: '[1,2]'
|
||||
},
|
||||
{
|
||||
number: 2,
|
||||
hasNextPage: true,
|
||||
hasPreviousPage: true,
|
||||
items: [3, 4],
|
||||
json: '[3,4]'
|
||||
},
|
||||
|
|
@ -208,6 +210,7 @@ test('Can paginate', async (t) => {
|
|||
{
|
||||
number: 5,
|
||||
hasNextPage: false,
|
||||
hasPreviousPage: true,
|
||||
items: [9],
|
||||
json: '[9]'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue