From 0832a1a8d73b4cd9337f526f2f2ec7a368af142b Mon Sep 17 00:00:00 2001 From: Shivangi Das Date: Wed, 17 Jan 2024 15:13:03 +0000 Subject: [PATCH] feat(cb2-10047): typo --- src/util/enum.ts | 2 +- tests/unit/processors/processSyncTestResultInfo.unit.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/enum.ts b/src/util/enum.ts index d61aa27e..96b790f1 100644 --- a/src/util/enum.ts +++ b/src/util/enum.ts @@ -44,7 +44,7 @@ export enum ERRORS { FAILED_UPDATE_MESSAGE = 'Failed to update record', } export enum ReasonForCreation { - EU_VEHICLE_CATEGORY_UPDATE = 'EU Vehicle Catergory updated.', + EU_VEHICLE_CATEGORY_UPDATE = 'EU Vehicle Category updated.', RECORD_PROMOTED = 'Record promoted to current.', } diff --git a/tests/unit/processors/processSyncTestResultInfo.unit.test.ts b/tests/unit/processors/processSyncTestResultInfo.unit.test.ts index 6f8342fe..3dc0a288 100644 --- a/tests/unit/processors/processSyncTestResultInfo.unit.test.ts +++ b/tests/unit/processors/processSyncTestResultInfo.unit.test.ts @@ -71,7 +71,7 @@ describe('syncTestResultInfo', () => { expect(mockGetBySystemNumberAndCreatedTimestamp).toHaveBeenCalledTimes(2); expect(mockUpdateVehicle).toHaveBeenCalledTimes(1); }); - it('should not call update if record is current and EuVehicleCatergory is not updated', async () => { + it('should not call update if record is current and EuVehicleCategory is not updated', async () => { mockSearchByCriteria.mockResolvedValueOnce([{ techRecord_statusCode: 'current' }]); mockGetBySystemNumberAndCreatedTimestamp.mockResolvedValueOnce(hgvData[1]); await syncTestResultInfo('5000', 'submitted', 'pass', '47', '012345', 'Test User', undefined);