'Jest implementation with JavaScript files of blob container

I am in a situation where I am unable to figure out how to implement Jest with my Js files. I am not using any node Js project but I have HTML files and their supported Js files hosted on the Azure blob container. All these HTML and Js files are also available on Azure Repo.

Our CI/CD pipeline scans the js files and produce code coverage results as 0.0% as there are no test cases written.

How should I implement the Jest so that I can write the test cases and get the code covered.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source