Skip to main content

CREATE_ERROR_MOCKS

Admin Docs


Variable: CREATE_ERROR_MOCKS

const CREATE_ERROR_MOCKS: ({ error?: undefined; request: { query: DocumentNode; variables: { first: number; organizationId: string; upcomingOnly: boolean; }; }; result: { data: { getVolunteerMembership?: undefined; organization: { events: { edges: ({ node: { _id: ...; allDay: ...; endDate: ...; endTime: ...; location: ...; name: ...; recurring: ...; startDate: ...; startTime: ...; title: ...; volunteerGroups: ...; volunteers: ...; }; } | { node: { allDay: ...; endDate: ...; endTime: ...; id: ...; location: ...; name: ...; recurring: ...; startDate: ...; startTime: ...; title: ...; volunteerGroups: ...; volunteers: ...; }; } | { node: { _id: ...; allDay: ...; description: ...; endDate: ...; endTime: ...; location: ...; name: ...; recurring: ...; startDate: ...; startTime: ...; title: ...; volunteerGroups: ...; volunteers: ...; }; })[]; }; }; }; }; } | { error?: undefined; request: { query: DocumentNode; variables: { where: { userId: string; }; }; }; result: { data: { getVolunteerMembership: any[]; organization?: undefined; }; }; } | { error: Error; request: { query: DocumentNode; variables: { data: { event: string; group: any; status: string; userId: string; }; }; }; })[]

Defined in: src/screens/UserPortal/Volunteer/UpcomingEvents/UpcomingEvents.mocks.ts:600