@@ -26,8 +26,7 @@ describe('Outlook Process Event Data', function test() {
26
26
. then ( done )
27
27
. catch ( done . fail ) ;
28
28
29
- } )
30
- ;
29
+ } ) ;
31
30
32
31
it ( 'does NOT add the isallday config property - when false - to the event post body' , done => {
33
32
let configInput = data . t2_all_config_values_isAllDay_false . cfg_in ;
@@ -47,8 +46,7 @@ describe('Outlook Process Event Data', function test() {
47
46
. then ( checkResults )
48
47
. then ( done )
49
48
. catch ( done . fail ) ;
50
- } )
51
- ;
49
+ } ) ;
52
50
53
51
it ( 'does NOT add any default properties in the event post body' , done => {
54
52
let configInput = data . t3_no_postbody_config_values . cfg_in ;
@@ -67,8 +65,7 @@ describe('Outlook Process Event Data', function test() {
67
65
. then ( checkResults )
68
66
. then ( done )
69
67
. catch ( done . fail ) ;
70
- } )
71
- ;
68
+ } ) ;
72
69
73
70
74
71
it ( 'formats start/end time to YYYY-MM-DDTHH:mm:ss for non all day events' , done => {
@@ -84,8 +81,7 @@ describe('Outlook Process Event Data', function test() {
84
81
. then ( checkResults )
85
82
. then ( done )
86
83
. catch ( done . fail ) ;
87
- } )
88
- ;
84
+ } ) ;
89
85
90
86
it ( 'does not change ISO start/end time when no utc offset is provided (europe/kiev)' , done => {
91
87
let configInput = {
@@ -110,8 +106,7 @@ describe('Outlook Process Event Data', function test() {
110
106
. then ( checkResults )
111
107
. then ( done )
112
108
. catch ( done . fail ) ;
113
- } )
114
- ;
109
+ } ) ;
115
110
116
111
it ( 'does not change start/end time when no utc offset is provided (europe/berlin)' , done => {
117
112
let configInput = {
@@ -136,8 +131,7 @@ describe('Outlook Process Event Data', function test() {
136
131
. then ( checkResults )
137
132
. then ( done )
138
133
. catch ( done . fail ) ;
139
- } )
140
- ;
134
+ } ) ;
141
135
142
136
it ( 'converts unix millisec start/end time to iso datetime in cfg timezone (europe/berlin)' , done => {
143
137
let configInput = {
@@ -163,8 +157,7 @@ describe('Outlook Process Event Data', function test() {
163
157
. then ( done )
164
158
. catch ( done . fail ) ;
165
159
166
- } )
167
- ;
160
+ } ) ;
168
161
169
162
it ( 'converts unix millisec start/end time to iso datetime & cfg timezone (europe/kiev)' , done => {
170
163
let configInput = {
@@ -190,8 +183,7 @@ describe('Outlook Process Event Data', function test() {
190
183
. then ( done )
191
184
. catch ( done . fail ) ;
192
185
193
- } )
194
- ;
186
+ } ) ;
195
187
196
188
it ( 'changes start/end time when utc offset is provided, to cfg timezone time (europe/berlin)' , done => {
197
189
let configInput = {
@@ -217,8 +209,7 @@ describe('Outlook Process Event Data', function test() {
217
209
. then ( done )
218
210
. catch ( done . fail ) ;
219
211
220
- } )
221
- ;
212
+ } ) ;
222
213
223
214
it ( 'changes start/end time when utc offset is provided, to cfg time zone time (europe/kiev)' , done => {
224
215
let configInput = {
@@ -244,8 +235,7 @@ describe('Outlook Process Event Data', function test() {
244
235
. then ( done )
245
236
. catch ( done . fail ) ;
246
237
247
- } )
248
- ;
238
+ } ) ;
249
239
250
240
it ( 'adds an extra day to end time for all day events and formats start/end dates as YYYY-MM-DD ' , done => {
251
241
let configInput = data . t4_add_1_day_for_all_day_events . cfg_in ;
@@ -260,8 +250,7 @@ describe('Outlook Process Event Data', function test() {
260
250
. then ( checkResults )
261
251
. then ( done )
262
252
. catch ( done . fail ) ;
263
- } )
264
- ;
253
+ } ) ;
265
254
266
255
it ( 'processes start/end times values even if the user entered spaces' , done => {
267
256
let configInput = {
@@ -286,8 +275,7 @@ describe('Outlook Process Event Data', function test() {
286
275
. then ( checkResults )
287
276
. then ( done )
288
277
. catch ( done . fail ) ;
289
- } )
290
- ;
278
+ } ) ;
291
279
292
280
293
281
it ( 'is rejected when required cfg field calendarId is missing' , done => {
@@ -313,8 +301,7 @@ describe('Outlook Process Event Data', function test() {
313
301
. then ( ( ) => done . fail ( new Error ( 'Error is expected' ) ) )
314
302
. catch ( checkError )
315
303
. then ( done , done . fail ) ;
316
- } )
317
- ;
304
+ } ) ;
318
305
319
306
it ( 'is rejected when required cfg field timeZone is missing' , done => {
320
307
let configInput = {
@@ -340,8 +327,7 @@ describe('Outlook Process Event Data', function test() {
340
327
. catch ( checkError )
341
328
. then ( done , done . fail ) ;
342
329
343
- } )
344
- ;
330
+ } ) ;
345
331
346
332
it ( 'is rejected when required input message field start.dateTime is missing' , done => {
347
333
let configInput = {
@@ -365,8 +351,7 @@ describe('Outlook Process Event Data', function test() {
365
351
. catch ( checkError )
366
352
. then ( done , done . fail ) ;
367
353
368
- } )
369
- ;
354
+ } ) ;
370
355
371
356
it ( 'is rejected when required input message field end.dateTime is missing' , done => {
372
357
let configInput = {
@@ -389,8 +374,7 @@ describe('Outlook Process Event Data', function test() {
389
374
. then ( ( ) => done . fail ( new Error ( 'Error is expected' ) ) )
390
375
. catch ( checkError )
391
376
. then ( done , done . fail ) ;
392
- } )
393
- ;
377
+ } ) ;
394
378
395
379
it ( 'is rejected when bodyContentType is provided AND body.content is NOT provided' , done => {
396
380
let configInput = {
@@ -418,8 +402,7 @@ describe('Outlook Process Event Data', function test() {
418
402
. catch ( checkError )
419
403
. then ( done , done . fail ) ;
420
404
421
- } )
422
- ;
405
+ } ) ;
423
406
424
407
it ( 'is rejected when an invalid start date is provided' , done => {
425
408
let configInput = {
@@ -445,8 +428,7 @@ describe('Outlook Process Event Data', function test() {
445
428
. then ( ( ) => done . fail ( new Error ( 'Error is expected' ) ) )
446
429
. catch ( checkError )
447
430
. then ( done , done . fail ) ;
448
- } )
449
- ;
431
+ } ) ;
450
432
451
433
it ( 'is rejected when an invalid end date is provided' , done => {
452
434
let configInput = {
@@ -473,8 +455,7 @@ describe('Outlook Process Event Data', function test() {
473
455
. catch ( checkError )
474
456
. then ( done , done . fail ) ;
475
457
476
- } )
477
- ;
458
+ } ) ;
478
459
479
460
it ( 'is rejected when a non ISO-8601 format end date is provided' , done => {
480
461
let configInput = {
@@ -501,8 +482,7 @@ describe('Outlook Process Event Data', function test() {
501
482
. catch ( checkError )
502
483
. then ( done , done . fail ) ;
503
484
504
- } )
505
- ;
485
+ } ) ;
506
486
507
487
it ( 'is rejected when a non ISO-8601 format start date is provided' , done => {
508
488
let configInput = {
@@ -529,8 +509,7 @@ describe('Outlook Process Event Data', function test() {
529
509
. catch ( checkError )
530
510
. then ( done , done . fail ) ;
531
511
532
- } )
533
- ;
512
+ } ) ;
534
513
535
514
536
515
} ) ;
0 commit comments