cronofy-elements 1.45.0 → 1.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,8 +9,9 @@ import {
9
9
  testSequencedSlotsArray,
10
10
  testDaySlots,
11
11
  testDaySequencedSlots,
12
- testSequencedSlotsAObject,
12
+ testSequencedSlotsObject,
13
13
  testQuery,
14
+ testSequencedQuery,
14
15
  } from "../dummy-data";
15
16
 
16
17
  import {
@@ -154,9 +155,39 @@ describe("Date Time Picker status reducer", () => {
154
155
  const callbackSpy = jest.spyOn(startingState, "callback");
155
156
  const oldState = {
156
157
  ...startingState,
157
- monthsLoading: [
158
- { month: "2021-09", loading: true },
159
- { month: "2021-10", loading: true },
158
+ months: [
159
+ {
160
+ month: "2021-09",
161
+ current: true,
162
+ loading: false,
163
+ query: {
164
+ max_results: 512,
165
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
166
+ query_periods: [
167
+ {
168
+ start: "2021-09-29T08:00:00Z",
169
+ end: "2021-09-30T22:59:00Z",
170
+ },
171
+ ],
172
+ required_duration: { minutes: 60 },
173
+ },
174
+ },
175
+ {
176
+ month: "2021-10",
177
+ current: false,
178
+ loading: true,
179
+ query: {
180
+ max_results: 512,
181
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
182
+ query_periods: [
183
+ {
184
+ start: "2021-09-30T23:00:00Z",
185
+ end: "2021-10-04T18:00:00Z",
186
+ },
187
+ ],
188
+ required_duration: { minutes: 60 },
189
+ },
190
+ },
160
191
  ],
161
192
  };
162
193
  const error = {
@@ -191,23 +222,47 @@ describe("Date Time Picker status reducer", () => {
191
222
  },
192
223
  };
193
224
 
194
- const newMonthsLoading = [
225
+ const expectedResultForMonths = [
195
226
  {
196
227
  month: "2021-09",
197
- loading: true,
228
+ current: true,
229
+ loading: false,
230
+ query: {
231
+ max_results: 512,
232
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
233
+ query_periods: [
234
+ {
235
+ start: "2021-09-29T08:00:00Z",
236
+ end: "2021-09-30T22:59:00Z",
237
+ },
238
+ ],
239
+ required_duration: { minutes: 60 },
240
+ },
198
241
  },
199
242
  {
200
243
  month: "2021-10",
244
+ current: false,
201
245
  loading: false,
246
+ query: {
247
+ max_results: 512,
248
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
249
+ query_periods: [
250
+ {
251
+ start: "2021-09-30T23:00:00Z",
252
+ end: "2021-10-04T18:00:00Z",
253
+ },
254
+ ],
255
+ required_duration: { minutes: 60 },
256
+ },
202
257
  },
203
258
  ];
204
259
 
205
- delete oldState.monthsLoading;
260
+ delete oldState.months;
206
261
 
207
- const { monthsLoading, ...newState } = result;
262
+ const { months, ...newState } = result;
208
263
 
209
264
  // These values have been updated
210
- expect(monthsLoading).toStrictEqual(newMonthsLoading);
265
+ expect(months).toStrictEqual(expectedResultForMonths);
211
266
  expect(callbackSpy).toHaveBeenCalled();
212
267
  expect(callbackSpy).toHaveBeenCalledWith(expectedNotification);
213
268
  // All other values are unchanged
@@ -271,14 +326,38 @@ describe("Date Time Picker status reducer", () => {
271
326
  tzid: "Europe/London",
272
327
  });
273
328
 
274
- const newMonthsLoading = [
329
+ const expectedResultForMonths = [
275
330
  {
276
331
  month: "2021-09",
332
+ current: true,
277
333
  loading: false,
334
+ query: {
335
+ max_results: 512,
336
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
337
+ query_periods: [
338
+ {
339
+ start: "2021-09-29T08:00:00Z",
340
+ end: "2021-09-30T22:59:00Z",
341
+ },
342
+ ],
343
+ required_duration: { minutes: 60 },
344
+ },
278
345
  },
279
346
  {
280
347
  month: "2021-10",
348
+ current: false,
281
349
  loading: true,
350
+ query: {
351
+ max_results: 512,
352
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
353
+ query_periods: [
354
+ {
355
+ start: "2021-09-30T23:00:00Z",
356
+ end: "2021-10-04T18:00:00Z",
357
+ },
358
+ ],
359
+ required_duration: { minutes: 60 },
360
+ },
282
361
  },
283
362
  ];
284
363
 
@@ -286,14 +365,14 @@ describe("Date Time Picker status reducer", () => {
286
365
  delete oldState.availableDays;
287
366
  delete oldState.slotFetchCount;
288
367
  delete oldState.slotInjectionPoint;
289
- delete oldState.monthsLoading;
368
+ delete oldState.months;
290
369
 
291
370
  const {
292
371
  slots,
293
372
  availableDays,
294
373
  slotFetchCount,
295
374
  slotInjectionPoint,
296
- monthsLoading,
375
+ months,
297
376
  ...newState
298
377
  } = result;
299
378
 
@@ -307,7 +386,7 @@ describe("Date Time Picker status reducer", () => {
307
386
  ]);
308
387
  expect(slotFetchCount).toBe(1);
309
388
  expect(slotInjectionPoint).toBe("2021-09-29");
310
- expect(monthsLoading).toStrictEqual(newMonthsLoading);
389
+ expect(months).toStrictEqual(expectedResultForMonths);
311
390
 
312
391
  // All other values are unchanged
313
392
  expect(newState).toStrictEqual(oldState);
@@ -396,26 +475,74 @@ describe("Date Time Picker status reducer", () => {
396
475
  ...startingState,
397
476
  slots: testSlotsObjectPartial,
398
477
  availableDays: ["2021-09-29", "2021-09-30"],
399
- monthsLoading: [
478
+ months: [
400
479
  {
401
480
  month: "2021-09",
481
+ current: true,
402
482
  loading: false,
483
+ query: {
484
+ max_results: 512,
485
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
486
+ query_periods: [
487
+ {
488
+ start: "2021-09-29T08:00:00Z",
489
+ end: "2021-09-30T22:59:00Z",
490
+ },
491
+ ],
492
+ required_duration: { minutes: 60 },
493
+ },
403
494
  },
404
495
  {
405
496
  month: "2021-10",
497
+ current: false,
406
498
  loading: true,
499
+ query: {
500
+ max_results: 512,
501
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
502
+ query_periods: [
503
+ {
504
+ start: "2021-09-30T23:00:00Z",
505
+ end: "2021-10-04T18:00:00Z",
506
+ },
507
+ ],
508
+ required_duration: { minutes: 60 },
509
+ },
407
510
  },
408
511
  ],
409
512
  };
410
513
 
411
- const newMonthsLoading = [
514
+ const expectedResultForMonths = [
412
515
  {
413
516
  month: "2021-09",
517
+ current: true,
414
518
  loading: false,
519
+ query: {
520
+ max_results: 512,
521
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
522
+ query_periods: [
523
+ {
524
+ start: "2021-09-29T08:00:00Z",
525
+ end: "2021-09-30T22:59:00Z",
526
+ },
527
+ ],
528
+ required_duration: { minutes: 60 },
529
+ },
415
530
  },
416
531
  {
417
532
  month: "2021-10",
533
+ current: false,
418
534
  loading: false,
535
+ query: {
536
+ max_results: 512,
537
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
538
+ query_periods: [
539
+ {
540
+ start: "2021-09-30T23:00:00Z",
541
+ end: "2021-10-04T18:00:00Z",
542
+ },
543
+ ],
544
+ required_duration: { minutes: 60 },
545
+ },
419
546
  },
420
547
  ];
421
548
 
@@ -430,14 +557,14 @@ describe("Date Time Picker status reducer", () => {
430
557
  delete oldState.slotFetchCount;
431
558
  delete oldState.slotInjectionPoint;
432
559
  delete oldState.availableDays;
433
- delete oldState.monthsLoading;
560
+ delete oldState.months;
434
561
 
435
562
  const {
436
563
  slots,
437
564
  slotFetchCount,
438
565
  slotInjectionPoint,
439
566
  availableDays,
440
- monthsLoading,
567
+ months,
441
568
  ...newState
442
569
  } = result;
443
570
 
@@ -450,7 +577,7 @@ describe("Date Time Picker status reducer", () => {
450
577
  "2021-10-01",
451
578
  "2021-10-04",
452
579
  ]);
453
- expect(monthsLoading).toStrictEqual(newMonthsLoading);
580
+ expect(months).toStrictEqual(expectedResultForMonths);
454
581
 
455
582
  expect(newState).toStrictEqual(oldState);
456
583
  });
@@ -458,6 +585,7 @@ describe("Date Time Picker status reducer", () => {
458
585
  it("sets sequenced slots", () => {
459
586
  const oldState = {
460
587
  ...startingState,
588
+ query: testSequencedQuery,
461
589
  slots: {},
462
590
  availableDays: [],
463
591
  slotFetchCount: 0,
@@ -472,14 +600,38 @@ describe("Date Time Picker status reducer", () => {
472
600
  tzid: "Europe/London",
473
601
  });
474
602
 
475
- const newMonthsLoading = [
603
+ const expectedResultForMonths = [
476
604
  {
477
605
  month: "2021-09",
606
+ current: true,
478
607
  loading: false,
608
+ query: {
609
+ max_results: 512,
610
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
611
+ query_periods: [
612
+ {
613
+ start: "2021-09-29T08:00:00Z",
614
+ end: "2021-09-30T22:59:00Z",
615
+ },
616
+ ],
617
+ required_duration: { minutes: 60 },
618
+ },
479
619
  },
480
620
  {
481
621
  month: "2021-10",
622
+ current: false,
482
623
  loading: true,
624
+ query: {
625
+ max_results: 512,
626
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
627
+ query_periods: [
628
+ {
629
+ start: "2021-09-30T23:00:00Z",
630
+ end: "2021-10-04T18:00:00Z",
631
+ },
632
+ ],
633
+ required_duration: { minutes: 60 },
634
+ },
483
635
  },
484
636
  ];
485
637
 
@@ -487,19 +639,19 @@ describe("Date Time Picker status reducer", () => {
487
639
  delete oldState.availableDays;
488
640
  delete oldState.slotFetchCount;
489
641
  delete oldState.slotInjectionPoint;
490
- delete oldState.monthsLoading;
642
+ delete oldState.months;
491
643
 
492
644
  const {
493
645
  slots,
494
646
  availableDays,
495
647
  slotFetchCount,
496
648
  slotInjectionPoint,
497
- monthsLoading,
649
+ months,
498
650
  ...newState
499
651
  } = result;
500
652
 
501
653
  // These values have been updated
502
- expect(slots).toStrictEqual(testSequencedSlotsAObject);
654
+ expect(slots).toStrictEqual(testSequencedSlotsObject);
503
655
  expect(availableDays).toStrictEqual([
504
656
  "2021-09-29",
505
657
  "2021-09-30",
@@ -508,7 +660,7 @@ describe("Date Time Picker status reducer", () => {
508
660
  ]);
509
661
  expect(slotFetchCount).toBe(1);
510
662
  expect(slotInjectionPoint).toBe("2021-09-29");
511
- expect(monthsLoading).toStrictEqual(newMonthsLoading);
663
+ expect(months).toStrictEqual(expectedResultForMonths);
512
664
 
513
665
  // All other values are unchanged
514
666
  expect(newState).toStrictEqual(oldState);
@@ -598,7 +750,7 @@ describe("Date Time Picker status reducer", () => {
598
750
  it("SELECT_DAY for sequenced slots", async () => {
599
751
  const oldState = {
600
752
  ...startingState,
601
- slots: testSequencedSlotsAObject,
753
+ slots: testSequencedSlotsObject,
602
754
  sequenced_availability: true,
603
755
  };
604
756
  const date = "2021-09-29";
@@ -672,6 +824,7 @@ describe("Date Time Picker status reducer", () => {
672
824
  {
673
825
  month: "2021-09",
674
826
  current: false,
827
+ loading: false,
675
828
  query: {
676
829
  max_results: 512,
677
830
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
@@ -687,6 +840,7 @@ describe("Date Time Picker status reducer", () => {
687
840
  {
688
841
  month: "2021-10",
689
842
  current: true,
843
+ loading: true,
690
844
  query: {
691
845
  max_results: 512,
692
846
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
@@ -732,6 +886,7 @@ describe("Date Time Picker status reducer", () => {
732
886
  {
733
887
  month: "2021-09",
734
888
  current: false,
889
+ loading: false,
735
890
  query: {
736
891
  max_results: 512,
737
892
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
@@ -747,6 +902,7 @@ describe("Date Time Picker status reducer", () => {
747
902
  {
748
903
  month: "2021-10",
749
904
  current: true,
905
+ loading: true,
750
906
  query: {
751
907
  max_results: 512,
752
908
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
@@ -71,6 +71,60 @@ export const testQuery = {
71
71
  required_duration: { minutes: 60 },
72
72
  };
73
73
 
74
+ export const testSequencedQuery = {
75
+ sequence: [
76
+ {
77
+ sequence_id: "test-one",
78
+ ordinal: 1,
79
+ participants: [
80
+ {
81
+ sub: "acc_5f35432b3f07d06753082354",
82
+ },
83
+ ],
84
+ required_duration: { minutes: 60 },
85
+ },
86
+ {
87
+ sequence_id: "test-two",
88
+ ordinal: 2,
89
+ participants: [
90
+ {
91
+ sub: "acc_5f35432b3f07d06753082354",
92
+ },
93
+ ],
94
+ required_duration: { minutes: 30 },
95
+ },
96
+ ],
97
+ query_periods: [{ start: "2021-09-29T08:00:00Z", end: "2021-10-04T18:00:00Z" }],
98
+ };
99
+
100
+ export const testSequencedQueryWithTitle = {
101
+ sequence: [
102
+ {
103
+ sequence_id: "test-one",
104
+ sequence_title: "Test Event One",
105
+ ordinal: 1,
106
+ participants: [
107
+ {
108
+ sub: "acc_5f35432b3f07d06753082354",
109
+ },
110
+ ],
111
+ required_duration: { minutes: 60 },
112
+ },
113
+ {
114
+ sequence_id: "test-two",
115
+ sequence_title: "Test Event Two",
116
+ ordinal: 2,
117
+ participants: [
118
+ {
119
+ sub: "acc_5f35432b3f07d06753082354",
120
+ },
121
+ ],
122
+ required_duration: { minutes: 30 },
123
+ },
124
+ ],
125
+ query_periods: [{ start: "2021-09-29T08:00:00Z", end: "2021-10-04T18:00:00Z" }],
126
+ };
127
+
74
128
  export const testTzList = [
75
129
  { tzid: "America/Phoenix", offset: "-07:00", offsetMins: -420, name: "Phoenix", abbr: "MST" },
76
130
  { tzid: "America/Guyana", offset: "-04:00", offsetMins: -240, name: "Guyana", abbr: "-04" },
@@ -533,16 +587,133 @@ export const testSlotsObjectPartial = {
533
587
  },
534
588
  };
535
589
 
536
- export const testSequencedSlotsAObject = {
590
+ export const testSequencedSlotsObject = {
591
+ "2021-09-29T08:00:00Z": [
592
+ {
593
+ sequence_id: "test-one",
594
+ start: "2021-09-29T08:00:00Z",
595
+ end: "2021-09-29T09:00:00Z",
596
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
597
+ },
598
+ {
599
+ sequence_id: "test-two",
600
+ start: "2021-09-29T09:00:00Z",
601
+ end: "2021-09-29T09:30:00Z",
602
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
603
+ },
604
+ ],
605
+ "2021-09-29T10:00:00Z": [
606
+ {
607
+ sequence_id: "test-one",
608
+ start: "2021-09-29T10:00:00Z",
609
+ end: "2021-09-29T11:00:00Z",
610
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
611
+ },
612
+ {
613
+ sequence_id: "test-two",
614
+ start: "2021-09-29T11:00:00Z",
615
+ end: "2021-09-29T11:30:00Z",
616
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
617
+ },
618
+ ],
619
+ "2021-09-30T08:00:00Z": [
620
+ {
621
+ sequence_id: "test-one",
622
+ start: "2021-09-30T08:00:00Z",
623
+ end: "2021-09-30T09:00:00Z",
624
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
625
+ },
626
+ {
627
+ sequence_id: "test-two",
628
+ start: "2021-09-30T09:00:00Z",
629
+ end: "2021-09-30T09:30:00Z",
630
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
631
+ },
632
+ ],
633
+ "2021-09-30T10:00:00Z": [
634
+ {
635
+ sequence_id: "test-one",
636
+ start: "2021-09-30T10:00:00Z",
637
+ end: "2021-09-30T11:00:00Z",
638
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
639
+ },
640
+ {
641
+ sequence_id: "test-two",
642
+ start: "2021-09-30T11:00:00Z",
643
+ end: "2021-09-30T11:30:00Z",
644
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
645
+ },
646
+ ],
647
+ "2021-09-30T11:30:00Z": [
648
+ {
649
+ sequence_id: "test-one",
650
+ start: "2021-09-30T11:30:00Z",
651
+ end: "2021-09-30T12:30:00Z",
652
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
653
+ },
654
+ {
655
+ sequence_id: "test-two",
656
+ start: "2021-09-30T12:30:00Z",
657
+ end: "2021-09-30T13:00:00Z",
658
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
659
+ },
660
+ ],
661
+ "2021-10-01T08:00:00Z": [
662
+ {
663
+ sequence_id: "test-one",
664
+ start: "2021-10-01T08:00:00Z",
665
+ end: "2021-10-01T09:00:00Z",
666
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
667
+ },
668
+ {
669
+ sequence_id: "test-two",
670
+ start: "2021-10-01T09:00:00Z",
671
+ end: "2021-10-01T09:30:00Z",
672
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
673
+ },
674
+ ],
675
+ "2021-10-04T08:00:00Z": [
676
+ {
677
+ sequence_id: "test-one",
678
+ start: "2021-10-04T08:00:00Z",
679
+ end: "2021-10-04T09:00:00Z",
680
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
681
+ },
682
+ {
683
+ sequence_id: "test-two",
684
+ start: "2021-10-04T09:00:00Z",
685
+ end: "2021-10-04T09:30:00Z",
686
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
687
+ },
688
+ ],
689
+ "2021-10-04T10:00:00Z": [
690
+ {
691
+ sequence_id: "test-one",
692
+ start: "2021-10-04T10:00:00Z",
693
+ end: "2021-10-04T11:00:00Z",
694
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
695
+ },
696
+ {
697
+ sequence_id: "test-two",
698
+ start: "2021-10-04T11:00:00Z",
699
+ end: "2021-10-04T11:30:00Z",
700
+ participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
701
+ },
702
+ ],
703
+ };
704
+
705
+ export const testSequencedSlotsObjectWithTitle = {
537
706
  "2021-09-29T08:00:00Z": [
538
707
  {
539
708
  sequence_id: "test-one",
709
+ sequence_title: "Test Event One",
540
710
  start: "2021-09-29T08:00:00Z",
541
711
  end: "2021-09-29T09:00:00Z",
542
712
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
543
713
  },
544
714
  {
545
715
  sequence_id: "test-two",
716
+ sequence_title: "Test Event Two",
546
717
  start: "2021-09-29T09:00:00Z",
547
718
  end: "2021-09-29T09:30:00Z",
548
719
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
@@ -551,12 +722,14 @@ export const testSequencedSlotsAObject = {
551
722
  "2021-09-29T10:00:00Z": [
552
723
  {
553
724
  sequence_id: "test-one",
725
+ sequence_title: "Test Event One",
554
726
  start: "2021-09-29T10:00:00Z",
555
727
  end: "2021-09-29T11:00:00Z",
556
728
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
557
729
  },
558
730
  {
559
731
  sequence_id: "test-two",
732
+ sequence_title: "Test Event Two",
560
733
  start: "2021-09-29T11:00:00Z",
561
734
  end: "2021-09-29T11:30:00Z",
562
735
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
@@ -565,12 +738,14 @@ export const testSequencedSlotsAObject = {
565
738
  "2021-09-30T08:00:00Z": [
566
739
  {
567
740
  sequence_id: "test-one",
741
+ sequence_title: "Test Event One",
568
742
  start: "2021-09-30T08:00:00Z",
569
743
  end: "2021-09-30T09:00:00Z",
570
744
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
571
745
  },
572
746
  {
573
747
  sequence_id: "test-two",
748
+ sequence_title: "Test Event Two",
574
749
  start: "2021-09-30T09:00:00Z",
575
750
  end: "2021-09-30T09:30:00Z",
576
751
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
@@ -579,12 +754,14 @@ export const testSequencedSlotsAObject = {
579
754
  "2021-09-30T10:00:00Z": [
580
755
  {
581
756
  sequence_id: "test-one",
757
+ sequence_title: "Test Event One",
582
758
  start: "2021-09-30T10:00:00Z",
583
759
  end: "2021-09-30T11:00:00Z",
584
760
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
585
761
  },
586
762
  {
587
763
  sequence_id: "test-two",
764
+ sequence_title: "Test Event Two",
588
765
  start: "2021-09-30T11:00:00Z",
589
766
  end: "2021-09-30T11:30:00Z",
590
767
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
@@ -593,12 +770,14 @@ export const testSequencedSlotsAObject = {
593
770
  "2021-09-30T11:30:00Z": [
594
771
  {
595
772
  sequence_id: "test-one",
773
+ sequence_title: "Test Event One",
596
774
  start: "2021-09-30T11:30:00Z",
597
775
  end: "2021-09-30T12:30:00Z",
598
776
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
599
777
  },
600
778
  {
601
779
  sequence_id: "test-two",
780
+ sequence_title: "Test Event Two",
602
781
  start: "2021-09-30T12:30:00Z",
603
782
  end: "2021-09-30T13:00:00Z",
604
783
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
@@ -607,12 +786,14 @@ export const testSequencedSlotsAObject = {
607
786
  "2021-10-01T08:00:00Z": [
608
787
  {
609
788
  sequence_id: "test-one",
789
+ sequence_title: "Test Event One",
610
790
  start: "2021-10-01T08:00:00Z",
611
791
  end: "2021-10-01T09:00:00Z",
612
792
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
613
793
  },
614
794
  {
615
795
  sequence_id: "test-two",
796
+ sequence_title: "Test Event Two",
616
797
  start: "2021-10-01T09:00:00Z",
617
798
  end: "2021-10-01T09:30:00Z",
618
799
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
@@ -621,12 +802,14 @@ export const testSequencedSlotsAObject = {
621
802
  "2021-10-04T08:00:00Z": [
622
803
  {
623
804
  sequence_id: "test-one",
805
+ sequence_title: "Test Event One",
624
806
  start: "2021-10-04T08:00:00Z",
625
807
  end: "2021-10-04T09:00:00Z",
626
808
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
627
809
  },
628
810
  {
629
811
  sequence_id: "test-two",
812
+ sequence_title: "Test Event Two",
630
813
  start: "2021-10-04T09:00:00Z",
631
814
  end: "2021-10-04T09:30:00Z",
632
815
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
@@ -635,12 +818,14 @@ export const testSequencedSlotsAObject = {
635
818
  "2021-10-04T10:00:00Z": [
636
819
  {
637
820
  sequence_id: "test-one",
821
+ sequence_title: "Test Event One",
638
822
  start: "2021-10-04T10:00:00Z",
639
823
  end: "2021-10-04T11:00:00Z",
640
824
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],
641
825
  },
642
826
  {
643
827
  sequence_id: "test-two",
828
+ sequence_title: "Test Event Two",
644
829
  start: "2021-10-04T11:00:00Z",
645
830
  end: "2021-10-04T11:30:00Z",
646
831
  participants: [{ sub: "acc_5f35432b3f07d06753082354" }],