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