Skip to content

Commit

Permalink
disabled test for dup event ids
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Mar 9, 2019
1 parent 333adc2 commit ef94fc2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/automated/event-data/EventObject-parsing.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,19 @@ describe('Event Object parsing', function() {
expect(events[0].end).toBe(null)
})

xit('won\'t accept two events with the same ID', function() {
initCalendar({
defaultView: 'dayGridDay',
defaultDate: '2018-01-01',
events: [
{ id: '1', start: '2018-01-01', title: 'cool' },
{ id: '1', start: '2018-01-01' }
]
})

let events = currentCalendar.getEvents()
expect(events.length).toBe(1)
expect(events[0].title).toBe('cool')
})

})

0 comments on commit ef94fc2

Please sign in to comment.