diff --git a/packages/esm-appointments-app/src/appointments/details/appointment-details.test.tsx b/packages/esm-appointments-app/src/appointments/details/appointment-details.test.tsx
index abe3be3b3..4efdc0885 100644
--- a/packages/esm-appointments-app/src/appointments/details/appointment-details.test.tsx
+++ b/packages/esm-appointments-app/src/appointments/details/appointment-details.test.tsx
@@ -77,7 +77,7 @@ jest.mock('@openmrs/esm-framework', () => {
});
test('renders appointment details correctly', async () => {
- const { getByText } = render();
+ render();
expect(screen.getByText(/Patient name/i)).toBeInTheDocument();
expect(screen.getByText(/John Wilson/i)).toBeInTheDocument();
expect(screen.getByText(/Age/i)).toBeInTheDocument();
diff --git a/packages/esm-service-queues-app/src/patient-search/visit-form/visit-type-selector.component.tsx b/packages/esm-service-queues-app/src/patient-search/visit-form/visit-type-selector.component.tsx
index 2c9ce7857..9e7ef26cf 100644
--- a/packages/esm-service-queues-app/src/patient-search/visit-form/visit-type-selector.component.tsx
+++ b/packages/esm-service-queues-app/src/patient-search/visit-form/visit-type-selector.component.tsx
@@ -1,23 +1,21 @@
import React, { useState, useMemo, useEffect } from 'react';
import classNames from 'classnames';
-import debounce from 'lodash-es/debounce';
import isEmpty from 'lodash-es/isEmpty';
import { useTranslation } from 'react-i18next';
-import { Layer, Search, RadioButtonGroup, RadioButton, StructuredListSkeleton, Tile } from '@carbon/react';
import {
- ResponsiveWrapper,
- reportError,
- useDebounce,
- useLayoutType,
- usePagination,
- useVisitTypes,
- type VisitType,
-} from '@openmrs/esm-framework';
+ InlineNotification,
+ Layer,
+ RadioButton,
+ RadioButtonGroup,
+ Search,
+ StructuredListSkeleton,
+ Tile,
+} from '@carbon/react';
+import { ResponsiveWrapper, useDebounce, useLayoutType, useVisitTypes, type VisitType } from '@openmrs/esm-framework';
import EmptyDataIllustration from '../empty-data-illustration.component';
import styles from './visit-type-selector.scss';
import { useRecommendedVisitTypes } from '../hooks/useRecommendedVisitTypes';
import { type PatientProgram } from '../../types';
-import { InlineNotification } from '@carbon/react';
export interface VisitTypeSelectorProps {
onChange: (event) => void;
diff --git a/packages/esm-service-queues-app/src/views/queue-tables-for-all-statuses.component.tsx b/packages/esm-service-queues-app/src/views/queue-tables-for-all-statuses.component.tsx
index 7338bd223..5d9584b6a 100644
--- a/packages/esm-service-queues-app/src/views/queue-tables-for-all-statuses.component.tsx
+++ b/packages/esm-service-queues-app/src/views/queue-tables-for-all-statuses.component.tsx
@@ -1,18 +1,16 @@
import React, { useCallback, useState } from 'react';
-import { InlineNotification, Search } from '@carbon/react';
+import { InlineNotification, Search, SkeletonText } from '@carbon/react';
import { Add } from '@carbon/react/icons';
-import { ExtensionSlot, isDesktop, launchWorkspace, showToast, useLayoutType } from '@openmrs/esm-framework';
import { useTranslation } from 'react-i18next';
+import { ExtensionSlot, isDesktop, launchWorkspace, showToast, useLayoutType } from '@openmrs/esm-framework';
+import type { Concept, Queue, QueueEntry } from '../types';
import { useQueueEntries } from '../hooks/useQueueEntries';
import { useColumns } from '../queue-table/cells/columns.resource';
import { QueueTableByStatusSkeleton } from '../queue-table/queue-table-by-status-skeleton.component';
import QueueTable from '../queue-table/queue-table.component';
import QueueTableMetrics from '../queue-table/queue-table-metrics.component';
-import styles from '../queue-table/queue-table.scss';
-import type { Concept, Queue, QueueEntry } from '../types';
import PatientQueueHeader from '../patient-queue-header/patient-queue-header.component';
-import { SearchSkeleton } from '@carbon/react';
-import { SkeletonText } from '@carbon/react';
+import styles from '../queue-table/queue-table.scss';
interface QueueTablesForAllStatusesProps {
selectedQueue: Queue; // the selected queue
diff --git a/packages/esm-ward-app/src/ward-view/ward-view.test.tsx b/packages/esm-ward-app/src/ward-view/ward-view.test.tsx
index 9ba5da241..59387c382 100644
--- a/packages/esm-ward-app/src/ward-view/ward-view.test.tsx
+++ b/packages/esm-ward-app/src/ward-view/ward-view.test.tsx
@@ -1,3 +1,5 @@
+import React from 'react';
+import { screen } from '@testing-library/react';
import {
type Person,
type ConfigSchema,
@@ -5,18 +7,15 @@ import {
useConfig,
useFeatureFlag,
} from '@openmrs/esm-framework';
-import { screen } from '@testing-library/react';
-import React from 'react';
import { useParams } from 'react-router-dom';
-import { mockLocations } from '../../../../__mocks__/locations.mock';
import { mockAdmissionLocation } from '../../../../__mocks__/wards.mock';
import { renderWithSwr } from '../../../../tools/test-utils';
import { configSchema } from '../config-schema';
import { useAdmissionLocation } from '../hooks/useAdmissionLocation';
-import WardView from './ward-view.component';
import { mockPatientAlice } from '../../../../__mocks__/patient.mock';
import { useAdmittedPatients } from '../hooks/useAdmittedPatients';
import useWardLocation from '../hooks/useWardLocation';
+import WardView from './ward-view.component';
jest.replaceProperty(mockPatientAlice.person as Person, 'preferredName', {
uuid: '',