You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JSON-LD related tests failing in update-deps branch #1455
Set up your mashlib-dev with the update-deps branches of node-solid-server and of rdflib. Run npx lerna bootstrap --force-local so they link up, and then in ./workspaces/node-solid-server, run:
formats
JSON-LD
1) should return JSON-LD document if Accept is set to only application/ld+json
2) should return the container listing in JSON-LD if Accept is set to only application/ld+json
✓ should prefer to avoid translation even if type is listed with less priority
3) should return JSON-LD document if Accept is set to application/ld+json and other types
Activity
michielbdejong commentedon Jul 29, 2020
Running
npm run watchfor rdflib in a separate window, I'm seeing it hit https://github.com/linkeddata/rdflib.js/blob/update-deps/src/convert.js#L25-L27. When trying it in the REPL, I can't reproduce the error that gets thrown there:michielbdejong commentedon Jul 29, 2020
Ah, using the Promise interface for
jsonld.fromRDFfixes the test.michielbdejong commentedon Jul 29, 2020
Fixed in linkeddata/rdflib.js@44c269c.