Feat add support of limit, offset, order #25
@ -126,6 +126,8 @@ test('crud#list handler', async (t) => {
|
||||
|
||||
const response = reply.args[0][0];
|
||||
|
||||
t.falsy(response instanceof Error, response);
|
||||
|
||||
t.deepEqual(
|
||||
response,
|
||||
models.map(({ id }) => ({ id })),
|
||||
|
Loading…
Reference in New Issue
Block a user