eclipse-thingweb / playground

Browser or Node.js based tool for validating and playing with W3C Thing Descriptions
https://playground.thingweb.io/
Other
28 stars 22 forks source link

Changed the jsonld default doc loader #578

Closed SergioCasCeb closed 5 months ago

SergioCasCeb commented 5 months ago

Added a "custom" doc loader to fix the "Deferring URL " error caused by the new version of JSON-LD when testing with jest.

Although this problem seems to only occur when the jest tests are run, adding the custom loader does seem to fix this issue. Nonetheless, for this to work a context map was added which does create more overhead on the core package.

egekorkan commented 5 months ago

The core tests are passing locally, merging.