Skip to content

Commit

Permalink
added orgs testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
duplixx committed Nov 10, 2024
1 parent f83f61e commit 48f7799
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ const MOCKS = [
_id: 1,
title: 'Event',
description: 'Event Test',
startDate: '',
endDate: '',
startDate: '2024-01-01',
endDate: '2024-01-02',
location: 'New Delhi',
startTime: '02:00',
endTime: '06:00',
allDay: false,
recurring: false,
attendees: [],
recurrenceRule: null,
isRecurringEventException: false,
isPublic: true,
Expand Down
26 changes: 26 additions & 0 deletions src/screens/OrganizationDashboard/OrganizationDashboardMocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,19 @@ export const MOCKS = [
endTime: '17:00:00',
allDay: false,
recurring: false,
attendees: [
{
_id: 'userId1',
createdAt: '2023-01-01T00:00:00.000Z',
firstName: 'John',
lastName: 'Doe',
gender: 'Male',
eventsAttended: {
_id: 'eventId1',
endDate: '2023-10-29T23:59:59.000Z',
},
},
],
recurrenceRule: null,
isRecurringEventException: false,
isPublic: true,
Expand All @@ -225,6 +238,19 @@ export const MOCKS = [
startTime: '08:00:00',
endTime: '17:00:00',
allDay: false,
attendees: [
{
_id: 'userId1',
createdAt: '2023-01-01T00:00:00.000Z',
firstName: 'John',
lastName: 'Doe',
gender: 'Male',
eventsAttended: {
_id: 'eventId1',
endDate: '2023-10-29T23:59:59.000Z',
},
},
],
recurring: false,
recurrenceRule: null,
isRecurringEventException: false,
Expand Down

0 comments on commit 48f7799

Please sign in to comment.