Is there any example on how to write a unit test for the itemFormatter?

Posted by: meera.wisniewski on 20 January 2020, 11:38 am EST

  • Posted 20 January 2020, 11:38 am EST

    Is there any example on how to write a unit test for the itemFormatter with Angular 8? Thanks

  • Posted 20 January 2020, 11:15 pm EST

    Hi,

    For testing itemFormatter, we could check if our styles are applied property on the cells. Please refer to the attached sample which demonstrates the same and let us know if you face any issues.

    Regards

    Sharad

    item-formatter-unit-test.zip

  • Posted 20 January 2020, 11:20 pm EST

    Thanks for your reply. I will check that out.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels