Skip to content

Commit

Permalink
Removes unnecessary async declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
njpearman committed Nov 13, 2020
1 parent 334d5ce commit 0fd106b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions packages/__tests__/src/icalendar/day-view.ts
Expand Up @@ -24,7 +24,7 @@ describe('addICalEventSource with week view', function() {

afterEach(function() { XHRMock.teardown() })

it('correctly adds a one-hour long meeting', async (done) => {
it('correctly adds a one-hour long meeting', (done) => {
loadICalendarWith(oneHourMeeting, () => {
setTimeout(() => {
assertEventCount(1)
Expand All @@ -33,7 +33,7 @@ describe('addICalEventSource with week view', function() {
})
})

it('correctly adds a repeating weekly meeting', async (done) => {
it('correctly adds a repeating weekly meeting', (done) => {
loadICalendarWith(recurringWeeklyMeeting, () => {
setTimeout(() => {
assertEventCount(1)
Expand All @@ -42,7 +42,7 @@ describe('addICalEventSource with week view', function() {
})
})

it('adds an all day event', async (done) => {
it('adds an all day event', (done) => {
loadICalendarWith(alldayEvent, () => {
setTimeout(() => {
assertEventCount(1)
Expand All @@ -52,7 +52,7 @@ describe('addICalEventSource with week view', function() {
})
})

it('ignores a munged event', async (done) => {
it('ignores a munged event', (done) => {
loadICalendarWith(mungedOneHourMeeting, () => {
setTimeout(() => {
assertEventCount(0)
Expand All @@ -61,7 +61,7 @@ describe('addICalEventSource with week view', function() {
})
})

it('ignores a meeting with a munged start', async (done) => {
it('ignores a meeting with a munged start', (done) => {
loadICalendarWith(meetingWithMungedStart, () => {
setTimeout(() => {
assertEventCount(0)
Expand Down
14 changes: 7 additions & 7 deletions packages/__tests__/src/icalendar/month-view.ts
Expand Up @@ -25,7 +25,7 @@ describe('addICalEventSource with month view', function() {

afterEach(function() { XHRMock.teardown() })

it('correctly adds an all day event', async (done) => {
it('correctly adds an all day event', (done) => {
loadICalendarWith(alldayEvent, () => {
setTimeout(() => {
assertEventCount(1)
Expand All @@ -35,7 +35,7 @@ describe('addICalEventSource with month view', function() {
})
})

it('correctly adds a single multi-day event', async (done) => {
it('correctly adds a single multi-day event', (done) => {
loadICalendarWith(multidayEvent, () => {
setTimeout(() => {
assertEventCount(1)
Expand All @@ -45,7 +45,7 @@ describe('addICalEventSource with month view', function() {
})
})

it('correctly adds multiple multi-day events', async (done) => {
it('correctly adds multiple multi-day events', (done) => {
loadICalendarWith(multipleMultidayEvents, () => {
setTimeout(() => {
assertEventCount(2)
Expand All @@ -55,7 +55,7 @@ describe('addICalEventSource with month view', function() {
})
})

it('correctly adds a one-hour long meeting', async (done) => {
it('correctly adds a one-hour long meeting', (done) => {
loadICalendarWith(oneHourMeeting, () => {
setTimeout(() => {
assertEventCount(1)
Expand All @@ -65,7 +65,7 @@ describe('addICalEventSource with month view', function() {
})
})

it('correctly adds a repeating weekly meeting', async (done) => {
it('correctly adds a repeating weekly meeting', (done) => {
loadICalendarWith(recurringWeeklyMeeting, () => {
setTimeout(() => {
assertEventCount(5)
Expand All @@ -74,7 +74,7 @@ describe('addICalEventSource with month view', function() {
})
})

it('ignores a munged event', async (done) => {
it('ignores a munged event', (done) => {
loadICalendarWith(mungedOneHourMeeting, () => {
setTimeout(() => {
assertEventCount(0)
Expand All @@ -83,7 +83,7 @@ describe('addICalEventSource with month view', function() {
})
})

it('adds a valid event and ignores a munged event', async (done) => {
it('adds a valid event and ignores a munged event', (done) => {
loadICalendarWith(multipleEventsOneMunged, () => {
setTimeout(() => {
assertEventCount(1)
Expand Down

0 comments on commit 0fd106b

Please sign in to comment.