LD4P / sinopia_acl

node.js based code to interact with WebACL data on sinopia server
Apache License 2.0
0 stars 0 forks source link

integration test: run server via docker-compose; get webACL for root container #18

Closed ndushay closed 5 years ago

ndushay commented 5 years ago

This is the sequence:

  1. spin up testing instance of server using docker-compose
  2. use some node HTTP approach to get webACL for root container (requires #26)
  3. using WebAccessControl class, parse the webACL into graph (n3store)
  4. assert graph has expected contents. (tests for #24)

superagent is used for http requests by sinopia_client (?); fetch is another one; there are other npm packages to choose from (and there may be something built in to node, like XMLHttpRequest or some such).