Code coverage for freshdesk marketplace

Hi everyone,

we are currently trying to push app to marketplace but fdk fails to print code coverage and we are requested code. Here are logs from report.json

{"coverage":{},"coverageSummary":{"lines":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"},"statements":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"},"functions":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"},"branches":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}}}

Any idea ?
Thanks

Hi @Camille_Hayot, what FDK version are you on? We recently fixed a code coverage issue in v8.6.5. Can you try updating to the latest FDK version and retry?

Hi @kaustavdm

currently on version 8.6.6

@kaustavdm @Debjani
Any idea on how to fix this ?
Installed last version, emptied .resport.json and still not working…

@kaustavdm @Debjani
Any update ? This is becoming critical since I can’t push app to marketplace…

When I make any change to my JS code the code coverage disappears, I can’t improve coverage…
FDK version : 8.6.6
Node version : 14.19.1
OS :Ubuntu 20.04.4

@Camille_Hayot apologies for the long delay in responding. Is this a react app by any chance?

@Developer-Platform Can someone help look into this issue? Code coverage issue seems to persist on Ubuntu even after upgrading FDK to latest 8.x.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.