I would like to write unit tests for the radio applet I am maintaining which I find very difficult as it is not possible to use standard testing libraries due to the different runtime environment. I have seen that there are some tests for js files in this repo but I don't understand how to use them. I am even not sure if it is even possible to apply this tests to an applet.
Any help in this regard is much appreciated.
I would like to write unit tests for the radio applet I am maintaining which I find very difficult as it is not possible to use standard testing libraries due to the different runtime environment. I have seen that there are some tests for js files in this repo but I don't understand how to use them. I am even not sure if it is even possible to apply this tests to an applet.
Any help in this regard is much appreciated.