Skip to content

Commit 3ef99bb

Browse files
committed
semicolon right after closing brackets
1 parent 58b5130 commit 3ef99bb

File tree

1 file changed

+21
-42
lines changed

1 file changed

+21
-42
lines changed

spec/helpers/processEventDataHelper.spec.js

Lines changed: 21 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ describe('Outlook Process Event Data', function test() {
2626
.then(done)
2727
.catch(done.fail);
2828

29-
})
30-
;
29+
});
3130

3231
it('does NOT add the isallday config property - when false - to the event post body', done => {
3332
let configInput = data.t2_all_config_values_isAllDay_false.cfg_in;
@@ -47,8 +46,7 @@ describe('Outlook Process Event Data', function test() {
4746
.then(checkResults)
4847
.then(done)
4948
.catch(done.fail);
50-
})
51-
;
49+
});
5250

5351
it('does NOT add any default properties in the event post body', done => {
5452
let configInput = data.t3_no_postbody_config_values.cfg_in;
@@ -67,8 +65,7 @@ describe('Outlook Process Event Data', function test() {
6765
.then(checkResults)
6866
.then(done)
6967
.catch(done.fail);
70-
})
71-
;
68+
});
7269

7370

7471
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() {
8481
.then(checkResults)
8582
.then(done)
8683
.catch(done.fail);
87-
})
88-
;
84+
});
8985

9086
it('does not change ISO start/end time when no utc offset is provided (europe/kiev)', done => {
9187
let configInput = {
@@ -110,8 +106,7 @@ describe('Outlook Process Event Data', function test() {
110106
.then(checkResults)
111107
.then(done)
112108
.catch(done.fail);
113-
})
114-
;
109+
});
115110

116111
it('does not change start/end time when no utc offset is provided (europe/berlin)', done => {
117112
let configInput = {
@@ -136,8 +131,7 @@ describe('Outlook Process Event Data', function test() {
136131
.then(checkResults)
137132
.then(done)
138133
.catch(done.fail);
139-
})
140-
;
134+
});
141135

142136
it('converts unix millisec start/end time to iso datetime in cfg timezone (europe/berlin)', done => {
143137
let configInput = {
@@ -163,8 +157,7 @@ describe('Outlook Process Event Data', function test() {
163157
.then(done)
164158
.catch(done.fail);
165159

166-
})
167-
;
160+
});
168161

169162
it('converts unix millisec start/end time to iso datetime & cfg timezone (europe/kiev)', done => {
170163
let configInput = {
@@ -190,8 +183,7 @@ describe('Outlook Process Event Data', function test() {
190183
.then(done)
191184
.catch(done.fail);
192185

193-
})
194-
;
186+
});
195187

196188
it('changes start/end time when utc offset is provided, to cfg timezone time (europe/berlin)', done => {
197189
let configInput = {
@@ -217,8 +209,7 @@ describe('Outlook Process Event Data', function test() {
217209
.then(done)
218210
.catch(done.fail);
219211

220-
})
221-
;
212+
});
222213

223214
it('changes start/end time when utc offset is provided, to cfg time zone time (europe/kiev)', done => {
224215
let configInput = {
@@ -244,8 +235,7 @@ describe('Outlook Process Event Data', function test() {
244235
.then(done)
245236
.catch(done.fail);
246237

247-
})
248-
;
238+
});
249239

250240
it('adds an extra day to end time for all day events and formats start/end dates as YYYY-MM-DD ', done => {
251241
let configInput = data.t4_add_1_day_for_all_day_events.cfg_in;
@@ -260,8 +250,7 @@ describe('Outlook Process Event Data', function test() {
260250
.then(checkResults)
261251
.then(done)
262252
.catch(done.fail);
263-
})
264-
;
253+
});
265254

266255
it('processes start/end times values even if the user entered spaces', done => {
267256
let configInput = {
@@ -286,8 +275,7 @@ describe('Outlook Process Event Data', function test() {
286275
.then(checkResults)
287276
.then(done)
288277
.catch(done.fail);
289-
})
290-
;
278+
});
291279

292280

293281
it('is rejected when required cfg field calendarId is missing', done => {
@@ -313,8 +301,7 @@ describe('Outlook Process Event Data', function test() {
313301
.then(() => done.fail(new Error('Error is expected')))
314302
.catch(checkError)
315303
.then(done, done.fail);
316-
})
317-
;
304+
});
318305

319306
it('is rejected when required cfg field timeZone is missing', done => {
320307
let configInput = {
@@ -340,8 +327,7 @@ describe('Outlook Process Event Data', function test() {
340327
.catch(checkError)
341328
.then(done, done.fail);
342329

343-
})
344-
;
330+
});
345331

346332
it('is rejected when required input message field start.dateTime is missing', done => {
347333
let configInput = {
@@ -365,8 +351,7 @@ describe('Outlook Process Event Data', function test() {
365351
.catch(checkError)
366352
.then(done, done.fail);
367353

368-
})
369-
;
354+
});
370355

371356
it('is rejected when required input message field end.dateTime is missing', done => {
372357
let configInput = {
@@ -389,8 +374,7 @@ describe('Outlook Process Event Data', function test() {
389374
.then(() => done.fail(new Error('Error is expected')))
390375
.catch(checkError)
391376
.then(done, done.fail);
392-
})
393-
;
377+
});
394378

395379
it('is rejected when bodyContentType is provided AND body.content is NOT provided', done => {
396380
let configInput = {
@@ -418,8 +402,7 @@ describe('Outlook Process Event Data', function test() {
418402
.catch(checkError)
419403
.then(done, done.fail);
420404

421-
})
422-
;
405+
});
423406

424407
it('is rejected when an invalid start date is provided', done => {
425408
let configInput = {
@@ -445,8 +428,7 @@ describe('Outlook Process Event Data', function test() {
445428
.then(() => done.fail(new Error('Error is expected')))
446429
.catch(checkError)
447430
.then(done, done.fail);
448-
})
449-
;
431+
});
450432

451433
it('is rejected when an invalid end date is provided', done => {
452434
let configInput = {
@@ -473,8 +455,7 @@ describe('Outlook Process Event Data', function test() {
473455
.catch(checkError)
474456
.then(done, done.fail);
475457

476-
})
477-
;
458+
});
478459

479460
it('is rejected when a non ISO-8601 format end date is provided', done => {
480461
let configInput = {
@@ -501,8 +482,7 @@ describe('Outlook Process Event Data', function test() {
501482
.catch(checkError)
502483
.then(done, done.fail);
503484

504-
})
505-
;
485+
});
506486

507487
it('is rejected when a non ISO-8601 format start date is provided', done => {
508488
let configInput = {
@@ -529,8 +509,7 @@ describe('Outlook Process Event Data', function test() {
529509
.catch(checkError)
530510
.then(done, done.fail);
531511

532-
})
533-
;
512+
});
534513

535514

536515
});

0 commit comments

Comments
 (0)