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

populateEmptyTrellis gets webids from usernames (with some temporary hardcoding) #64

Closed ndushay closed 5 years ago

ndushay commented 5 years ago

Closes #56

Besides tweaking populateEmptyTrellis script:

When reviewing, please expand the webAccessControl.test.js file - it has the most changes, but isn't too overwhelming to review.

This is, effectively, an intermediate step - #63 is about getting past hardcoding usernames in the scripts and will also address config information being set in environment vars by terraform for deployments to AWS (dev, stage, prod).

Fun fact: testing for .toThrow for an async method is ... non-obvious. And the syntax I found on my first x web searches didn't work for some reason (some config thing? some babel thing??)