digitalbazaar / jsonld.js

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

Add tests with DID URLs #388

Open davidlehn opened 4 years ago

davidlehn commented 4 years ago

From https://github.com/digitalbazaar/jsonld.js/pull/384.

@dlongley Please elaborate on what type of tests would be appropriate.

dlongley commented 4 years ago

Any tests that involve prepending base (or other base manipulations) should include URLs like this: did:example:test:1234 and did:example:test:1234?query=foo.