Feat add support of limit, offset, order #25

Merged
joeybaker merged 5 commits from add-filters into master 2016-10-21 18:10:35 +00:00
Showing only changes of commit 5923f0dbcb - Show all commits

View File

@ -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 })),