Hello, I am trying to make Freshdesk App for publishing in the marketplace,my application uses a modular assembly,npm packages and utilities such as Webpack,eslint, babel , quite a bit of code is written in my application This is a main.js file
The problem is that when I run my application in dev mode,I get quite low coverage summary For example I have this coverage summary, when my code is compiled by webpack in development mode
And this coverage summary when my code is minified
As I understand it, this is due to the npm packages I use Q. Can I use npm packages for publishing an application in the marketplace? Q. How to avoid low scores coverage summary? Q. If I will not use npm packages but I will need to connect a third-party library that also contains code with webpack, it will also lower the coverage rates?
Q. If I will not use npm packages but I will need to connect a third-party library that also contains code with webpack, it will also lower the coverage rates? A. FDK will check for code coverage for only the files which are in the project directory. (and not the scripts hosted remotely)
Hope that helps!
over 1 year ago
On a side note,
We have recently launched forum for Freshworks developer community (https://community.developers.freshworks.com). We encourage all the developers to discuss queries, ambiguities, know-hows, and points of interest with fellow app developers and Freshworks’ engineers on the forum. We will involve the stakeholders directly on the forum topic to help you get your answers quicker.