A fresh checkout of the master branch produces failing tests.
Issues 1, 2, and 4 are fixed by #411, but this is blocked due to the remaining tests, which I have no accounting for.
1402 passing (10s)
85 pending
7 failing
1) jsonld.js
JSON-LD Test Suite
Compaction
#tc028 Adding a minimal/empty property-scoped context should not affect the using terms defined in outer context.:
AssertionError: expected { Object (@context, thing, ...) } to deeply equal { Object (@context, title, ...) }
+ expected - actual
}
"title": "ex:title"
}
"thing": {
- "ex:title": "sub"
+ "title": "sub"
}
"title": "top"
}
at Object.compareExpectedJson [as compare] (tests/test-common.js:739:12)
at async Context.<anonymous> (tests/test-common.js:551:11)
2) jsonld.js
JSON-LD Test Suite
Expansion
#tc036 Adding a minimal/empty property-scoped context should not affect expansion of terms defined in the outer scope.:
AssertionError: expected [ Array(1) ] to deeply equal [ Array(1) ]
+ expected - actual
[
{
"ex:thing": [
- {}
+ {
+ "ex:title": [
+ {
+ "@value": "sub"
+ }
+ ]
+ }
]
"ex:title": [
{
"@value": "top"
at Object.compareExpectedJson [as compare] (tests/test-common.js:739:12)
at async Context.<anonymous> (tests/test-common.js:551:11)
3) jsonld.js
JSON-LD Test Suite
Expansion
#ter54 The value of @type in a value object MUST be a string or null.:
AssertionError: no error present: expected undefined to be truthy
at compareExpectedError (tests/test-common.js:791:12)
at Context.<anonymous> (tests/test-common.js:544:17)
4) jsonld.js
JSON-LD Test Suite
Transform JSON-LD to RDF
#tc036 Adding a minimal/empty property-scoped context should not affect expansion of terms defined in the outer scope.:
AssertionError: expected '_:c14n0 <ex:thing> _:c14n1 .\n_:c14n0 <ex:title> "top" .\n' to equal '_:c14n0 <ex:thing> _:c14n1 .\n_:c14n0 <ex:title> "top" .\n_:c14n1 <ex:title> "sub" .\n'
+ expected - actual
_:c14n0 <ex:thing> _:c14n1 .
_:c14n0 <ex:title> "top" .
+_:c14n1 <ex:title> "sub" .
at Object.compareCanonizedExpectedNQuads [as compare] (tests/test-common.js:774:12)
at async Context.<anonymous> (tests/test-common.js:551:11)
5) jsonld.js
JSON-LD Test Suite
Transform JSON-LD to RDF
#ter54 The value of @type in a value object MUST be a string or null.:
AssertionError: no error present: expected undefined to be truthy
at compareExpectedError (tests/test-common.js:791:12)
at Context.<anonymous> (tests/test-common.js:544:17)
6) jsonld.js
JSON-LD Test Suite
Transform JSON-LD to RDF
#tli12 Tests list elements expanded to IRIs with a bad @base.:
Error: N-Quads parse error on line 2.
at Function.parse (node_modules/rdf-canonize/lib/NQuads.js:97:15)
at Object.compareCanonizedExpectedNQuads [as compare] (tests/test-common.js:772:46)
at async Context.<anonymous> (tests/test-common.js:551:11)
7) jsonld.js
JSON-LD Test Suite
Transform JSON-LD to RDF
#tli14 Tests list elements expanded to IRIs with a null @base.:
TypeError: Cannot read property 'termType' of null
at Function.serializeQuad (node_modules/rdf-canonize/lib/NQuads.js:222:10)
at Function.serialize (node_modules/rdf-canonize/lib/NQuads.js:191:25)
at jsonld.toRDF (lib/jsonld.js:685:27)
at async Context.<anonymous> (tests/test-common.js:537:18)
A fresh checkout of the master branch produces failing tests.
Issues 1, 2, and 4 are fixed by #411, but this is blocked due to the remaining tests, which I have no accounting for.