@@ -47,7 +47,7 @@ test('use persisted documents (GraphQL over HTTP "documentId")', async () => {
47
47
'Content-Type' : 'application/json' ,
48
48
} ,
49
49
body : JSON . stringify ( {
50
- documentId : 'client-name/ client-version/ hash' ,
50
+ documentId : 'client-name~ client-version~ hash' ,
51
51
} ) ,
52
52
} ) ;
53
53
@@ -103,7 +103,7 @@ test('use persisted documents (GraphQL over HTTP "documentId") real thing', asyn
103
103
'Content-Type' : 'application/json' ,
104
104
} ,
105
105
body : JSON . stringify ( {
106
- documentId : 'client-name/ client-version/ hash' ,
106
+ documentId : 'client-name~ client-version~ hash' ,
107
107
} ) ,
108
108
} ) ;
109
109
@@ -152,7 +152,7 @@ test('persisted document not found (GraphQL over HTTP "documentId")', async () =
152
152
'Content-Type' : 'application/json' ,
153
153
} ,
154
154
body : JSON . stringify ( {
155
- documentId : 'client-name/ client-version/ hash' ,
155
+ documentId : 'client-name~ client-version~ hash' ,
156
156
} ) ,
157
157
} ) ;
158
158
@@ -308,7 +308,7 @@ test('use persisted documents for subscription (GraphQL over HTTP "documentId")'
308
308
Accept : 'text/event-stream' ,
309
309
} ,
310
310
body : JSON . stringify ( {
311
- documentId : 'client-name/ client-version/ hash' ,
311
+ documentId : 'client-name~ client-version~ hash' ,
312
312
} ) ,
313
313
} ) ;
314
314
@@ -363,7 +363,7 @@ test('usage reporting for persisted document', async () => {
363
363
{
364
364
metadata : { } ,
365
365
operationMapKey : 'ace78a32bbf8a79071356e5d5b13c5c83baf4e14' ,
366
- persistedDocumentHash : 'client-name/ client-version/ hash' ,
366
+ persistedDocumentHash : 'client-name~ client-version~ hash' ,
367
367
} ,
368
368
] ) ;
369
369
@@ -427,7 +427,7 @@ test('usage reporting for persisted document', async () => {
427
427
'Content-Type' : 'application/json' ,
428
428
} ,
429
429
body : JSON . stringify ( {
430
- documentId : 'client-name/ client-version/ hash' ,
430
+ documentId : 'client-name~ client-version~ hash' ,
431
431
} ) ,
432
432
} ) ;
433
433
expect ( response . status ) . toBe ( 200 ) ;
@@ -476,7 +476,7 @@ test('usage reporting for persisted document (subscription)', async () => {
476
476
{
477
477
metadata : { } ,
478
478
operationMapKey : '74cf03b67c3846231d04927b02e1fca45e727223' ,
479
- persistedDocumentHash : 'client-name/ client-version/ hash' ,
479
+ persistedDocumentHash : 'client-name~ client-version~ hash' ,
480
480
} ,
481
481
] ) ;
482
482
@@ -553,7 +553,7 @@ test('usage reporting for persisted document (subscription)', async () => {
553
553
Accept : 'text/event-stream' ,
554
554
} ,
555
555
body : JSON . stringify ( {
556
- documentId : 'client-name/ client-version/ hash' ,
556
+ documentId : 'client-name~ client-version~ hash' ,
557
557
} ) ,
558
558
} ) ;
559
559
expect ( response . status ) . toBe ( 200 ) ;
0 commit comments