Skip to content

Commit 7479c7e

Browse files
committed
Update tck tests
1 parent 5cba775 commit 7479c7e

File tree

5 files changed

+72
-288
lines changed

5 files changed

+72
-288
lines changed

packages/graphql/tests/tck/aggregations/where/edge/duration.test.ts

Lines changed: 30 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
7474
\\"param0\\": {
7575
\\"months\\": 12,
7676
\\"days\\": 0,
77-
\\"seconds\\": {
78-
\\"low\\": 0,
79-
\\"high\\": 0
80-
},
81-
\\"nanoseconds\\": {
82-
\\"low\\": 0,
83-
\\"high\\": 0
84-
}
77+
\\"seconds\\": 0,
78+
\\"nanoseconds\\": 0
8579
}
8680
}"
8781
`);
@@ -115,14 +109,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
115109
\\"param0\\": {
116110
\\"months\\": 12,
117111
\\"days\\": 0,
118-
\\"seconds\\": {
119-
\\"low\\": 0,
120-
\\"high\\": 0
121-
},
122-
\\"nanoseconds\\": {
123-
\\"low\\": 0,
124-
\\"high\\": 0
125-
}
112+
\\"seconds\\": 0,
113+
\\"nanoseconds\\": 0
126114
}
127115
}"
128116
`);
@@ -156,14 +144,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
156144
\\"param0\\": {
157145
\\"months\\": 12,
158146
\\"days\\": 0,
159-
\\"seconds\\": {
160-
\\"low\\": 0,
161-
\\"high\\": 0
162-
},
163-
\\"nanoseconds\\": {
164-
\\"low\\": 0,
165-
\\"high\\": 0
166-
}
147+
\\"seconds\\": 0,
148+
\\"nanoseconds\\": 0
167149
}
168150
}"
169151
`);
@@ -197,14 +179,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
197179
\\"param0\\": {
198180
\\"months\\": 12,
199181
\\"days\\": 0,
200-
\\"seconds\\": {
201-
\\"low\\": 0,
202-
\\"high\\": 0
203-
},
204-
\\"nanoseconds\\": {
205-
\\"low\\": 0,
206-
\\"high\\": 0
207-
}
182+
\\"seconds\\": 0,
183+
\\"nanoseconds\\": 0
208184
}
209185
}"
210186
`);
@@ -238,14 +214,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
238214
\\"param0\\": {
239215
\\"months\\": 12,
240216
\\"days\\": 0,
241-
\\"seconds\\": {
242-
\\"low\\": 0,
243-
\\"high\\": 0
244-
},
245-
\\"nanoseconds\\": {
246-
\\"low\\": 0,
247-
\\"high\\": 0
248-
}
217+
\\"seconds\\": 0,
218+
\\"nanoseconds\\": 0
249219
}
250220
}"
251221
`);
@@ -279,14 +249,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
279249
\\"param0\\": {
280250
\\"months\\": 12,
281251
\\"days\\": 0,
282-
\\"seconds\\": {
283-
\\"low\\": 0,
284-
\\"high\\": 0
285-
},
286-
\\"nanoseconds\\": {
287-
\\"low\\": 0,
288-
\\"high\\": 0
289-
}
252+
\\"seconds\\": 0,
253+
\\"nanoseconds\\": 0
290254
}
291255
}"
292256
`);
@@ -320,14 +284,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
320284
\\"param0\\": {
321285
\\"months\\": 12,
322286
\\"days\\": 0,
323-
\\"seconds\\": {
324-
\\"low\\": 0,
325-
\\"high\\": 0
326-
},
327-
\\"nanoseconds\\": {
328-
\\"low\\": 0,
329-
\\"high\\": 0
330-
}
287+
\\"seconds\\": 0,
288+
\\"nanoseconds\\": 0
331289
}
332290
}"
333291
`);
@@ -361,14 +319,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
361319
\\"param0\\": {
362320
\\"months\\": 12,
363321
\\"days\\": 0,
364-
\\"seconds\\": {
365-
\\"low\\": 0,
366-
\\"high\\": 0
367-
},
368-
\\"nanoseconds\\": {
369-
\\"low\\": 0,
370-
\\"high\\": 0
371-
}
322+
\\"seconds\\": 0,
323+
\\"nanoseconds\\": 0
372324
}
373325
}"
374326
`);
@@ -402,14 +354,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
402354
\\"param0\\": {
403355
\\"months\\": 12,
404356
\\"days\\": 0,
405-
\\"seconds\\": {
406-
\\"low\\": 0,
407-
\\"high\\": 0
408-
},
409-
\\"nanoseconds\\": {
410-
\\"low\\": 0,
411-
\\"high\\": 0
412-
}
357+
\\"seconds\\": 0,
358+
\\"nanoseconds\\": 0
413359
}
414360
}"
415361
`);
@@ -443,14 +389,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
443389
\\"param0\\": {
444390
\\"months\\": 12,
445391
\\"days\\": 0,
446-
\\"seconds\\": {
447-
\\"low\\": 0,
448-
\\"high\\": 0
449-
},
450-
\\"nanoseconds\\": {
451-
\\"low\\": 0,
452-
\\"high\\": 0
453-
}
392+
\\"seconds\\": 0,
393+
\\"nanoseconds\\": 0
454394
}
455395
}"
456396
`);
@@ -484,14 +424,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
484424
\\"param0\\": {
485425
\\"months\\": 12,
486426
\\"days\\": 0,
487-
\\"seconds\\": {
488-
\\"low\\": 0,
489-
\\"high\\": 0
490-
},
491-
\\"nanoseconds\\": {
492-
\\"low\\": 0,
493-
\\"high\\": 0
494-
}
427+
\\"seconds\\": 0,
428+
\\"nanoseconds\\": 0
495429
}
496430
}"
497431
`);
@@ -525,14 +459,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
525459
\\"param0\\": {
526460
\\"months\\": 12,
527461
\\"days\\": 0,
528-
\\"seconds\\": {
529-
\\"low\\": 0,
530-
\\"high\\": 0
531-
},
532-
\\"nanoseconds\\": {
533-
\\"low\\": 0,
534-
\\"high\\": 0
535-
}
462+
\\"seconds\\": 0,
463+
\\"nanoseconds\\": 0
536464
}
537465
}"
538466
`);
@@ -566,14 +494,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
566494
\\"param0\\": {
567495
\\"months\\": 12,
568496
\\"days\\": 0,
569-
\\"seconds\\": {
570-
\\"low\\": 0,
571-
\\"high\\": 0
572-
},
573-
\\"nanoseconds\\": {
574-
\\"low\\": 0,
575-
\\"high\\": 0
576-
}
497+
\\"seconds\\": 0,
498+
\\"nanoseconds\\": 0
577499
}
578500
}"
579501
`);
@@ -607,14 +529,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
607529
\\"param0\\": {
608530
\\"months\\": 12,
609531
\\"days\\": 0,
610-
\\"seconds\\": {
611-
\\"low\\": 0,
612-
\\"high\\": 0
613-
},
614-
\\"nanoseconds\\": {
615-
\\"low\\": 0,
616-
\\"high\\": 0
617-
}
532+
\\"seconds\\": 0,
533+
\\"nanoseconds\\": 0
618534
}
619535
}"
620536
`);
@@ -648,14 +564,8 @@ describe("Cypher Aggregations where edge with Duration", () => {
648564
\\"param0\\": {
649565
\\"months\\": 12,
650566
\\"days\\": 0,
651-
\\"seconds\\": {
652-
\\"low\\": 0,
653-
\\"high\\": 0
654-
},
655-
\\"nanoseconds\\": {
656-
\\"low\\": 0,
657-
\\"high\\": 0
658-
}
567+
\\"seconds\\": 0,
568+
\\"nanoseconds\\": 0
659569
}
660570
}"
661571
`);

0 commit comments

Comments
 (0)