Closed Connoropolous closed 2 years ago
Note that there's no need to test the cursors or pagination metadata for other endpoints as we're doing in event_resource_list_api.js
since all endpoints are generated from the same macro. It's enough to simply verify that the outputs are returned in a list in the correct reverse insertion order.
For each of the following, two things should be added:
test
that exercises the endpointSince
economicResources
andeconomicEvents
are done, they can be used as an example to base off ofe.g.
readAll
andeconomicEvents
in this snippet: https://github.com/h-REA/hREA/blob/81c2b0097d92cce4cd475e3e191a2d90fa30ee61/modules/vf-graphql-holochain/queries/economicEvent.ts#L20-L29agents
call and filter results)agents
call and filter results)