@@ -479,7 +479,7 @@ describe('literal JSON', () => {
479
479
} ) ;
480
480
} ) ;
481
481
482
- describe ( 'expansionMap' , ( ) => {
482
+ describe . only ( 'expansionMap' , ( ) => {
483
483
describe ( 'unmappedProperty' , ( ) => {
484
484
it ( 'should be called on unmapped term' , async ( ) => {
485
485
const docWithUnMappedTerm = {
@@ -614,8 +614,8 @@ describe('expansionMap', () => {
614
614
assert . equal ( expansionMapCalled , true ) ;
615
615
} ) ;
616
616
617
- it ( 'should be called on relative iri for type\
618
- term in scoped context' , async ( ) => {
617
+ it ( 'should be called on relative iri for type ' +
618
+ ' term in scoped context', async ( ) => {
619
619
const docWithRelativeIriId = {
620
620
'@context' : {
621
621
'definedType' : {
@@ -645,8 +645,8 @@ describe('expansionMap', () => {
645
645
assert . equal ( expansionMapCalled , true ) ;
646
646
} ) ;
647
647
648
- it ( 'should be called on relative iri for \
649
- type term with multiple relative iri types' , async ( ) => {
648
+ it ( 'should be called on relative iri for ' +
649
+ ' type term with multiple relative iri types', async ( ) => {
650
650
const docWithRelativeIriId = {
651
651
'@context' : {
652
652
'definedTerm' : 'https://example.com#definedTerm'
@@ -669,8 +669,9 @@ describe('expansionMap', () => {
669
669
assert . equal ( expansionMapCalledTimes , 3 ) ;
670
670
} ) ;
671
671
672
- it ( 'should be called on relative iri for \
673
- type term with multiple relative iri types in scoped context' , async ( ) => {
672
+ it ( 'should be called on relative iri for ' +
673
+ 'type term with multiple relative iri types in scoped context' +
674
+ '' , async ( ) => {
674
675
const docWithRelativeIriId = {
675
676
'@context' : {
676
677
'definedType' : {
@@ -701,8 +702,8 @@ describe('expansionMap', () => {
701
702
assert . equal ( expansionMapCalledTimes , 3 ) ;
702
703
} ) ;
703
704
704
- it ( 'should be called on relative iri for \
705
- type term with multiple types' , async ( ) => {
705
+ it ( 'should be called on relative iri for ' +
706
+ ' type term with multiple types', async ( ) => {
706
707
const docWithRelativeIriId = {
707
708
'@context' : {
708
709
'definedTerm' : 'https://example.com#definedTerm'
@@ -747,8 +748,8 @@ describe('expansionMap', () => {
747
748
assert . equal ( expansionMapCalled , true ) ;
748
749
} ) ;
749
750
750
- it ( "should be called on relative iri when \
751
- @base value is './'" , async ( ) => {
751
+ it ( "should be called on relative iri when " +
752
+ " @base value is './'", async ( ) => {
752
753
const docWithRelativeIriId = {
753
754
'@context' : {
754
755
"@base" : "./" ,
@@ -768,8 +769,8 @@ describe('expansionMap', () => {
768
769
assert . equal ( expansionMapCalled , true ) ;
769
770
} ) ;
770
771
771
- it ( "should be called on relative iri when \
772
- @base value is './'" , async ( ) => {
772
+ it ( "should be called on relative iri when " +
773
+ " @base value is './'", async ( ) => {
773
774
const docWithRelativeIriId = {
774
775
'@context' : {
775
776
"@base" : "./" ,
@@ -789,8 +790,8 @@ describe('expansionMap', () => {
789
790
assert . equal ( expansionMapCalled , true ) ;
790
791
} ) ;
791
792
792
- it ( "should be called on relative iri when \
793
- @vocab value is './'" , async ( ) => {
793
+ it ( "should be called on relative iri when " +
794
+ " @vocab value is './'", async ( ) => {
794
795
const docWithRelativeIriId = {
795
796
'@context' : {
796
797
"@vocab" : "./" ,
@@ -812,8 +813,8 @@ describe('expansionMap', () => {
812
813
} ) ;
813
814
814
815
describe ( 'prependedIri' , ( ) => {
815
- it ( "should be called when property is \
816
- being expanded with `@vocab`" , async ( ) => {
816
+ it ( "should be called when property is " +
817
+ " being expanded with `@vocab`", async ( ) => {
817
818
const doc = {
818
819
'@context' : {
819
820
"@vocab" : "http://example.com/" ,
@@ -838,8 +839,8 @@ describe('expansionMap', () => {
838
839
assert . equal ( expansionMapCalled , true ) ;
839
840
} ) ;
840
841
841
- it ( "should be called when '@type' is \
842
- being expanded with `@vocab`" , async ( ) => {
842
+ it ( "should be called when '@type' is " +
843
+ " being expanded with `@vocab`", async ( ) => {
843
844
const doc = {
844
845
'@context' : {
845
846
"@vocab" : "http://example.com/" ,
@@ -864,8 +865,8 @@ describe('expansionMap', () => {
864
865
assert . equal ( expansionMapCalled , true ) ;
865
866
} ) ;
866
867
867
- it ( "should be called when aliased '@type' is \
868
- being expanded with `@vocab`" , async ( ) => {
868
+ it ( "should be called when aliased '@type' is " +
869
+ " being expanded with `@vocab`", async ( ) => {
869
870
const doc = {
870
871
'@context' : {
871
872
"@vocab" : "http://example.com/" ,
@@ -891,8 +892,8 @@ describe('expansionMap', () => {
891
892
assert . equal ( expansionMapCalled , true ) ;
892
893
} ) ;
893
894
894
- it ( "should be called when '@id' is being \
895
- expanded with `@base`" , async ( ) => {
895
+ it ( "should be called when '@id' is being " +
896
+ " expanded with `@base`", async ( ) => {
896
897
const doc = {
897
898
'@context' : {
898
899
"@base" : "http://example.com/" ,
@@ -919,8 +920,8 @@ describe('expansionMap', () => {
919
920
assert . equal ( expansionMapCalled , true ) ;
920
921
} ) ;
921
922
922
- it ( "should be called when aliased '@id' \
923
- is being expanded with `@base`" , async ( ) => {
923
+ it ( "should be called when aliased '@id' " +
924
+ " is being expanded with `@base`", async ( ) => {
924
925
const doc = {
925
926
'@context' : {
926
927
"@base" : "http://example.com/" ,
@@ -948,8 +949,8 @@ describe('expansionMap', () => {
948
949
assert . equal ( expansionMapCalled , true ) ;
949
950
} ) ;
950
951
951
- it ( "should be called when '@type' is \
952
- being expanded with `@base`" , async ( ) => {
952
+ it ( "should be called when '@type' is " +
953
+ " being expanded with `@base`", async ( ) => {
953
954
const doc = {
954
955
'@context' : {
955
956
"@base" : "http://example.com/" ,
@@ -976,8 +977,8 @@ describe('expansionMap', () => {
976
977
assert . equal ( expansionMapCalled , true ) ;
977
978
} ) ;
978
979
979
- it ( "should be called when aliased '@type' is \
980
- being expanded with `@base`" , async ( ) => {
980
+ it ( "should be called when aliased '@type' is " +
981
+ " being expanded with `@base`", async ( ) => {
981
982
const doc = {
982
983
'@context' : {
983
984
"@base" : "http://example.com/" ,
0 commit comments