Skip to content

Commit

Permalink
code coverage disable statement removed
Browse files Browse the repository at this point in the history
  • Loading branch information
hustlernik committed Jan 15, 2025
1 parent f85b8ac commit c99af0f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/screens/UserPortal/Events/Events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ export default function events(): JSX.Element {
createChat: createChatCheck,
},
});

/* istanbul ignore next */
if (createEventData) {
toast.success(t('eventCreated') as string);
refetch();
Expand Down Expand Up @@ -188,7 +186,6 @@ export default function events(): JSX.Element {
};

// Update the list of events when the data from the query changes
/* istanbul ignore next */
React.useEffect(() => {
if (data) {
setEvents(data.eventsByOrganizationConnection);
Expand All @@ -200,7 +197,6 @@ export default function events(): JSX.Element {
*
* @returns Void.
*/
/* istanbul ignore next */
const showInviteModal = (): void => {
setCreateEventmodalisOpen(true);
};
Expand All @@ -211,9 +207,7 @@ export default function events(): JSX.Element {
* @param item - The view type to set, or null to reset.
* @returns Void.
*/
/* istanbul ignore next */
const handleChangeView = (item: string | null): void => {
/*istanbul ignore next*/
if (item) {
setViewType(item as ViewType);
}
Expand Down

0 comments on commit c99af0f

Please sign in to comment.