localization error in unit testing

1 Answer 67 Views
DatePicker
Aarn
Top achievements
Rank 1
Aarn asked on 18 Oct 2024, 03:34 AM

Hi team,

I'm very sorry to bother you again. I tried all the methods you provided, but the error still exists. I will now describe the error to you in more detail.

The following is a picture of unit test error information.

I tried to understand the error message, and it seems to be related to the language setting initialization of the datepicker component.

In the datepicker component, I have implemented the language switching function. Here is the relevant code for the language switching.

In the app.config.ts file, I globally set and imported the corresponding language pack.

I tried to introduce CldrIntlService in the unittest file, but it still gave the same error.

Thank you for your help!

1 Answer, 1 is accepted

Sort by
0
Zornitsa
Telerik team
answered on 22 Oct 2024, 02:02 PM

Hi Aarn,

I noticed that a similar inquiry was asked in the following private support thread and I have provided a reply regarding the identical matter there:

In this line of thought, I would suggest continuing our conversation in the above-linked ticket since there is more detailed context provided there and also to avoid any potential confusion on the matter. 

Having said that, I would like to ask you to refrain from opening multiple tickets with the same subject in the future and post separate matters either in the forum thread or as a private support ticket. This allows our team to maintain a clean support history of your account and respectively provide a better support service in general.

Thank you for your understanding.

Regards,
Zornitsa
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
DatePicker
Asked by
Aarn
Top achievements
Rank 1
Answers by
Zornitsa
Telerik team
Share this question
or