This is a migrated thread and some comments may be shown as answers.

Unit testing for change event of dropdrow component

3 Answers 892 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mukesh
Top achievements
Rank 1
Mukesh asked on 07 Feb 2020, 09:56 AM

Hi Team,

I am trying to write unit test for change event of kendo react dropdown component uning jest and enzyme. But not able to perform that is not getting rendered as pure html.

Can you please let us know how to achieve that.

 

Regards,

Mukesh 

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 07 Feb 2020, 10:53 AM

Hello, Mukesh,

Each of our components has unit tests in the source code.

I can suggest downloading the source code and checking our tests:

path repo/packages/dropdowns/test.

https://www.telerik.com/kendo-react-ui/components/installation/source-code/

These tests should help to test the component as it provides different testing scenarios.

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Mukesh
Top achievements
Rank 1
answered on 10 Feb 2020, 10:06 AM

Hi,

It is asking for credentials, with which credentials should i log in 

Regrads,

Mukesh 

0
Stefan
Telerik team
answered on 10 Feb 2020, 10:36 AM

Hello, Mukesh,

The credentials for the your Telerik account which is associated with a license.

If a company has bought the licenses, then the license holder should have assigned them to the business emails.

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Mukesh
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Mukesh
Top achievements
Rank 1
Share this question
or