digitalbazaar / jsonld.js

A JSON-LD Processor and API implementation in JavaScript
https://json-ld.org/
Other
1.66k stars 195 forks source link

Renable doc loader tests #309

Closed aljones15 closed 3 years ago

aljones15 commented 5 years ago

this simply adds a sinon mock for the calls on schema.org so we can unit test the node documentLoader with out the possibility of schema.org being down or the latency.

NOTE: 3 tests are failing on travis ci, but not any of the re-enabled ones.

aljones15 commented 5 years ago

@davidlehn this was rebased with master travis ci still has failing tests.

dlongley commented 5 years ago

@davidlehn -- can you see if this should be closed or is still relevant?

davidlehn commented 3 years ago

Closing. 5.0.0 updated the node document loader tests and uses a local server. That method allows for testing of various special cases that a server may present. If there is a desire to use the method here going forward as well, please reopen.