Writing testcases in Jasmine for custom renderers

Hi I am seeking help regarding coverage. I’d like to know how can we write testcases for custom renderers just for example i referred to this custom renderer Text Input (jsonforms/text.renderer.ts at master · eclipsesource/jsonforms · GitHub)

But on starting to write testcase i encountered few errors stating

Please call init method first

Can you please show an example or point any references what should be in providers or even better if you could show example of above how to write one for jasmine.

Hi @howdyAnkit, you can check how we implemented our test cases.

1 Like