forked from Yara724/api
the serial letter normalization added to the code to normalize the Heh , Ya , Kaf and etc to the correct character
This commit is contained in:
@@ -9,6 +9,9 @@ describe("SandHubService inquiry mocks", () => {
|
||||
isInquiryLive: jest.fn(),
|
||||
getMockCompanyContext: jest.fn(),
|
||||
};
|
||||
const plateNormalizer = {
|
||||
normalizePlateText: (text: string) => text,
|
||||
};
|
||||
|
||||
let service: SandHubService;
|
||||
|
||||
@@ -30,6 +33,7 @@ describe("SandHubService inquiry mocks", () => {
|
||||
httpService as any,
|
||||
sandHubDbService as any,
|
||||
externalInquirySettings as unknown as ExternalInquirySettingsService,
|
||||
plateNormalizer as any,
|
||||
);
|
||||
externalInquirySettings.isInquiryLive.mockResolvedValue(false);
|
||||
externalInquirySettings.getMockCompanyContext.mockResolvedValue({
|
||||
|
||||
Reference in New Issue
Block a user