Skip to content

Commit

Permalink
feat(cb2-10047): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shivangidas committed Jan 17, 2024
1 parent eb657ad commit 0832a1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/util/enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0832a1a

Please sign in to comment.