Skip to content

Commit c35b618

Browse files
committed
BN-49 | Fix. Prettier Issues
1 parent e46e82f commit c35b618

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/constants/app.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ export const BAHMNI_HOME_PATH = '/bahmni/home/index.html';
5454
export const BAHMNI_CLINICAL_PATH = '/bahmni/clinical/index.html';
5555
//TODO: When we work on taking values dynamically, we need to remove the hardcoded value of LAB_ORDER_TYPE_UUID */
5656
export const LAB_ORDER_TYPE_UUID = 'd3560b17-5e07-11ef-8f7c-0242ac120002';
57-

src/displayControls/labinvestigation/__tests__/LabInvestigationControl.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jest.mock('@/services/labInvestigationService', () => ({
1919
groupLabTestsByDate: jest.fn(),
2020
}));
2121

22-
2322
// Mock the LabInvestigationItem component
2423
jest.mock('../LabInvestigationItem', () => ({
2524
__esModule: true,
@@ -121,7 +120,7 @@ describe('LabInvestigationControl', () => {
121120
beforeEach(() => {
122121
jest.clearAllMocks();
123122
(groupLabTestsByDate as jest.Mock).mockReturnValue(mockLabTestsByDate);
124-
123+
125124
// Reset i18n to English
126125
i18n.changeLanguage('en');
127126
});

src/hooks/__tests__/useLabInvestigations.test.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ describe('useLabInvestigations', () => {
281281
// Wait for async operations
282282
await waitFor(() => {
283283
expect(mockedGetLabTests).toHaveBeenCalledWith(patientUUID);
284-
expect(mockedFormatLabTests).toHaveBeenCalledWith(mockLabTestFhirBundle);
284+
expect(mockedFormatLabTests).toHaveBeenCalledWith(
285+
mockLabTestFhirBundle,
286+
);
285287
expect(mockSetLabTests).toHaveBeenCalledWith(mockFormattedLabTests);
286288
expect(mockSetLoading).toHaveBeenCalledWith(false);
287289
expect(mockSetError).toHaveBeenCalledWith(false);

src/utils/__tests__/date.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { format, parseISO } from 'date-fns';
22
import { calculateAge, formatDate, formatDateTime } from '../date';
3-
import { DATE_TIME_FORMAT} from '@constants/date';
3+
import { DATE_TIME_FORMAT } from '@constants/date';
44
import { DATE_ERROR_MESSAGES } from '@constants/errors';
55
import i18n from '@/setupTests.i18n';
66

0 commit comments

Comments
 (0)