I use to write Unit Test case in C# but for Typescript I do not know how to write it. Please help me someone. I tried to type here the code block but was unable to post this due to formatting issue so I just pasted it here as an image.
Even if someone can describe the use case here for unit test would be of great help.
[Code Block]